HSL(21, 24%, 74%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,24%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 24%, 74%) | color: hsl(21, 24%, 74%) | |
| HEX | #CDB8AD | color: #CDB8AD | |
| RGB | rgb(205, 184, 173) | color: rgb(205, 184, 173) | |
| CMYK | cmyk(0%, 10%, 16%, 20%) | — | |
| HSV | hsv(21, 16%, 80%) | — | |
| HWB | hwb(21 67% 20%) | color: hwb(21 67% 20%) | |
| OKLCH | oklch(0.7973 0.0286 49.51) | color: oklch(0.7973 0.0286 49.51) | |
| Lab | lab(76.24 5.66 8.31) | color: lab(76.24 5.66 8.31) | |
| LCH | lch(76.24 10.05 55.74) | color: lch(76.24 10.05 55.74) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#C4C4B0 — rgb(196, 196, 176)
Deuteranopia (Green-blind)
#C5C7B0 — rgb(197, 199, 176)
Tritanopia (Blue-blind)
#CCB2B2 — rgb(204, 178, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 24%, 74%);
text
color: hsl(21, 24%, 74%);
border
border: 2px solid hsl(21, 24%, 74%);
gradient light
background: linear-gradient(to right, hsl(21, 24%, 94%), hsl(21, 24%, 74%));
gradient dark
background: linear-gradient(to right, hsl(21, 24%, 74%), hsl(21, 24%, 54%))
hex
background-color: #CDB8AD;
tailwind
bg-[hsl(21,24%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 24%, 74%, 0.4);
css variable
--color-primary: hsl(21, 24%, 74%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 24%, 74%)?
HEX: #CDB8AD | RGB: rgb(205, 184, 173) | CMYK: 0%, 10%, 16%, 20% | HSV: 21°, 16%, 80%. Copy any format from the conversion table above.
What colors go well with #CDB8AD?
The complementary color is HSL(201, 24%, 74%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 24%, 74%) in CSS?
As HSL: color: hsl(21, 24%, 74%); — As HEX: color: #CDB8AD; — As RGB: color: rgb(205, 184, 173); — Tailwind CSS: bg-[hsl(21,24%,74%)] — CSS variable: --color-primary: hsl(21, 24%, 74%);