HSL(42, 100%, 74%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,100%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 100%, 74%) | color: hsl(42, 100%, 74%) | |
| HEX | #FFD77A | color: #FFD77A | |
| RGB | rgb(255, 215, 122) | color: rgb(255, 215, 122) | |
| CMYK | cmyk(0%, 16%, 52%, 0%) | — | |
| HSV | hsv(42, 52%, 100%) | — | |
| HWB | hwb(42 48% 0%) | color: hwb(42 48% 0%) | |
| OKLCH | oklch(0.8944 0.1206 86.66) | color: oklch(0.8944 0.1206 86.66) | |
| Lab | lab(87.62 2.87 50.67) | color: lab(87.62 2.87 50.67) | |
| LCH | lch(87.62 50.75 86.76) | color: lch(87.62 50.75 86.76) |
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)
#EEED91 — rgb(238, 237, 145)
Deuteranopia (Green-blind)
#F0F396 — rgb(240, 243, 150)
Tritanopia (Blue-blind)
#FDA2A6 — rgb(253, 162, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 100%, 74%);
text
color: hsl(42, 100%, 74%);
border
border: 2px solid hsl(42, 100%, 74%);
gradient light
background: linear-gradient(to right, hsl(42, 100%, 94%), hsl(42, 100%, 74%));
gradient dark
background: linear-gradient(to right, hsl(42, 100%, 74%), hsl(42, 100%, 54%))
hex
background-color: #FFD77A;
tailwind
bg-[hsl(42,100%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 100%, 74%, 0.4);
css variable
--color-primary: hsl(42, 100%, 74%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 100%, 74%)?
HEX: #FFD77A | RGB: rgb(255, 215, 122) | CMYK: 0%, 16%, 52%, 0% | HSV: 42°, 52%, 100%. Copy any format from the conversion table above.
What colors go well with #FFD77A?
The complementary color is HSL(222, 100%, 74%). 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, 100%, 74%) in CSS?
As HSL: color: hsl(42, 100%, 74%); — As HEX: color: #FFD77A; — As RGB: color: rgb(255, 215, 122); — Tailwind CSS: bg-[hsl(42,100%,74%)] — CSS variable: --color-primary: hsl(42, 100%, 74%);