HSL(40, 60%, 53%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,60%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 60%, 53%) | color: hsl(40, 60%, 53%) | |
| HEX | #CF9F3F | color: #CF9F3F | |
| RGB | rgb(207, 159, 63) | color: rgb(207, 159, 63) | |
| CMYK | cmyk(0%, 23%, 70%, 19%) | — | |
| HSV | hsv(40, 70%, 81%) | — | |
| HWB | hwb(40 24% 19%) | color: hwb(40 24% 19%) | |
| OKLCH | oklch(0.73 0.1248 81.62) | color: oklch(0.73 0.1248 81.62) | |
| Lab | lab(68.33 8.14 54.98) | color: lab(68.33 8.14 54.98) | |
| LCH | lch(68.33 55.58 81.58) | color: lch(68.33 55.58 81.58) |
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)
#BABA56 — rgb(186, 186, 86)
Deuteranopia (Green-blind)
#BDC15C — rgb(189, 193, 92)
Tritanopia (Blue-blind)
#CD696D — rgb(205, 105, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 60%, 53%);
text
color: hsl(40, 60%, 53%);
border
border: 2px solid hsl(40, 60%, 53%);
gradient light
background: linear-gradient(to right, hsl(40, 60%, 73%), hsl(40, 60%, 53%));
gradient dark
background: linear-gradient(to right, hsl(40, 60%, 53%), hsl(40, 60%, 33%))
hex
background-color: #CF9F3F;
tailwind
bg-[hsl(40,60%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 60%, 53%, 0.4);
css variable
--color-primary: hsl(40, 60%, 53%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 60%, 53%)?
HEX: #CF9F3F | RGB: rgb(207, 159, 63) | CMYK: 0%, 23%, 70%, 19% | HSV: 40°, 70%, 81%. Copy any format from the conversion table above.
What colors go well with #CF9F3F?
The complementary color is HSL(220, 60%, 53%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(40, 60%, 53%) in CSS?
As HSL: color: hsl(40, 60%, 53%); — As HEX: color: #CF9F3F; — As RGB: color: rgb(207, 159, 63); — Tailwind CSS: bg-[hsl(40,60%,53%)] — CSS variable: --color-primary: hsl(40, 60%, 53%);