HSL(42, 80%, 54%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,80%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 80%, 54%) | color: hsl(42, 80%, 54%) | |
| HEX | #E8AF2C | color: #E8AF2C | |
| RGB | rgb(232, 175, 44) | color: rgb(232, 175, 44) | |
| CMYK | cmyk(0%, 25%, 81%, 9%) | — | |
| HSV | hsv(42, 81%, 91%) | — | |
| HWB | hwb(42 17% 9%) | color: hwb(42 17% 9%) | |
| OKLCH | oklch(0.7865 0.1502 82.79) | color: oklch(0.7865 0.1502 82.79) | |
| Lab | lab(74.83 9.61 69.27) | color: lab(74.83 9.61 69.27) | |
| LCH | lch(74.83 69.93 82.1) | color: lch(74.83 69.93 82.1) |
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)
#CFCF4C — rgb(207, 207, 76)
Deuteranopia (Green-blind)
#D3D753 — rgb(211, 215, 83)
Tritanopia (Blue-blind)
#E5656A — rgb(229, 101, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 80%, 54%);
text
color: hsl(42, 80%, 54%);
border
border: 2px solid hsl(42, 80%, 54%);
gradient light
background: linear-gradient(to right, hsl(42, 80%, 74%), hsl(42, 80%, 54%));
gradient dark
background: linear-gradient(to right, hsl(42, 80%, 54%), hsl(42, 80%, 34%))
hex
background-color: #E8AF2C;
tailwind
bg-[hsl(42,80%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 80%, 54%, 0.4);
css variable
--color-primary: hsl(42, 80%, 54%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 80%, 54%)?
HEX: #E8AF2C | RGB: rgb(232, 175, 44) | CMYK: 0%, 25%, 81%, 9% | HSV: 42°, 81%, 91%. Copy any format from the conversion table above.
What colors go well with #E8AF2C?
The complementary color is HSL(222, 80%, 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, 80%, 54%) in CSS?
As HSL: color: hsl(42, 80%, 54%); — As HEX: color: #E8AF2C; — As RGB: color: rgb(232, 175, 44); — Tailwind CSS: bg-[hsl(42,80%,54%)] — CSS variable: --color-primary: hsl(42, 80%, 54%);