HSL(42, 100%, 84%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,100%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 100%, 84%) | color: hsl(42, 100%, 84%) | |
| HEX | #FFE7AD | color: #FFE7AD | |
| RGB | rgb(255, 231, 173) | color: rgb(255, 231, 173) | |
| CMYK | cmyk(0%, 9%, 32%, 0%) | — | |
| HSV | hsv(42, 32%, 100%) | — | |
| HWB | hwb(42 68% 0%) | color: hwb(42 68% 0%) | |
| OKLCH | oklch(0.9339 0.0785 88.13) | color: oklch(0.9339 0.0785 88.13) | |
| Lab | lab(92.32 -0.08 31.27) | color: lab(92.32 -0.08 31.27) | |
| LCH | lch(92.32 31.27 90.15) | color: lch(92.32 31.27 90.15) |
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)
#F5F4BB — rgb(245, 244, 187)
Deuteranopia (Green-blind)
#F6F8BE — rgb(246, 248, 190)
Tritanopia (Blue-blind)
#FEC6C9 — rgb(254, 198, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 100%, 84%);
text
color: hsl(42, 100%, 84%);
border
border: 2px solid hsl(42, 100%, 84%);
gradient light
background: linear-gradient(to right, hsl(42, 100%, 100%), hsl(42, 100%, 84%));
gradient dark
background: linear-gradient(to right, hsl(42, 100%, 84%), hsl(42, 100%, 64%))
hex
background-color: #FFE7AD;
tailwind
bg-[hsl(42,100%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 100%, 84%, 0.4);
css variable
--color-primary: hsl(42, 100%, 84%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 100%, 84%)?
HEX: #FFE7AD | RGB: rgb(255, 231, 173) | CMYK: 0%, 9%, 32%, 0% | HSV: 42°, 32%, 100%. Copy any format from the conversion table above.
What colors go well with #FFE7AD?
The complementary color is HSL(222, 100%, 84%). 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%, 84%) in CSS?
As HSL: color: hsl(42, 100%, 84%); — As HEX: color: #FFE7AD; — As RGB: color: rgb(255, 231, 173); — Tailwind CSS: bg-[hsl(42,100%,84%)] — CSS variable: --color-primary: hsl(42, 100%, 84%);