HSL(42, 61%, 54%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,61%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 61%, 54%) | color: hsl(42, 61%, 54%) | |
| HEX | #D1A642 | color: #D1A642 | |
| RGB | rgb(209, 166, 66) | color: rgb(209, 166, 66) | |
| CMYK | cmyk(0%, 21%, 68%, 18%) | — | |
| HSV | hsv(42, 68%, 82%) | — | |
| HWB | hwb(42 26% 18%) | color: hwb(42 26% 18%) | |
| OKLCH | oklch(0.7463 0.1262 85.22) | color: oklch(0.7463 0.1262 85.22) | |
| Lab | lab(70.33 5.41 55.83) | color: lab(70.33 5.41 55.83) | |
| LCH | lch(70.33 56.09 84.47) | color: lch(70.33 56.09 84.47) |
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)
#BEBE5A — rgb(190, 190, 90)
Deuteranopia (Green-blind)
#C1C460 — rgb(193, 196, 96)
Tritanopia (Blue-blind)
#CF6D72 — rgb(207, 109, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 61%, 54%);
text
color: hsl(42, 61%, 54%);
border
border: 2px solid hsl(42, 61%, 54%);
gradient light
background: linear-gradient(to right, hsl(42, 61%, 74%), hsl(42, 61%, 54%));
gradient dark
background: linear-gradient(to right, hsl(42, 61%, 54%), hsl(42, 61%, 34%))
hex
background-color: #D1A642;
tailwind
bg-[hsl(42,61%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 61%, 54%, 0.4);
css variable
--color-primary: hsl(42, 61%, 54%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 61%, 54%)?
HEX: #D1A642 | RGB: rgb(209, 166, 66) | CMYK: 0%, 21%, 68%, 18% | HSV: 42°, 68%, 82%. Copy any format from the conversion table above.
What colors go well with #D1A642?
The complementary color is HSL(222, 61%, 54%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 61%, 54%) in CSS?
As HSL: color: hsl(42, 61%, 54%); — As HEX: color: #D1A642; — As RGB: color: rgb(209, 166, 66); — Tailwind CSS: bg-[hsl(42,61%,54%)] — CSS variable: --color-primary: hsl(42, 61%, 54%);