HSL(42, 54%, 52%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,54%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 54%, 52%) | color: hsl(42, 54%, 52%) | |
| HEX | #C79F43 | color: #C79F43 | |
| RGB | rgb(199, 159, 67) | color: rgb(199, 159, 67) | |
| CMYK | cmyk(0%, 20%, 66%, 22%) | — | |
| HSV | hsv(42, 66%, 78%) | — | |
| HWB | hwb(42 27% 22%) | color: hwb(42 27% 22%) | |
| OKLCH | oklch(0.722 0.1188 85.26) | color: oklch(0.722 0.1188 85.26) | |
| Lab | lab(67.54 4.9 52.11) | color: lab(67.54 4.9 52.11) | |
| LCH | lch(67.54 52.34 84.63) | color: lch(67.54 52.34 84.63) |
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)
#B6B559 — rgb(182, 181, 89)
Deuteranopia (Green-blind)
#B8BB5F — rgb(184, 187, 95)
Tritanopia (Blue-blind)
#C56B6F — rgb(197, 107, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 54%, 52%);
text
color: hsl(42, 54%, 52%);
border
border: 2px solid hsl(42, 54%, 52%);
gradient light
background: linear-gradient(to right, hsl(42, 54%, 72%), hsl(42, 54%, 52%));
gradient dark
background: linear-gradient(to right, hsl(42, 54%, 52%), hsl(42, 54%, 32%))
hex
background-color: #C79F43;
tailwind
bg-[hsl(42,54%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 54%, 52%, 0.4);
css variable
--color-primary: hsl(42, 54%, 52%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 54%, 52%)?
HEX: #C79F43 | RGB: rgb(199, 159, 67) | CMYK: 0%, 20%, 66%, 22% | HSV: 42°, 66%, 78%. Copy any format from the conversion table above.
What colors go well with #C79F43?
The complementary color is HSL(222, 54%, 52%). 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, 54%, 52%) in CSS?
As HSL: color: hsl(42, 54%, 52%); — As HEX: color: #C79F43; — As RGB: color: rgb(199, 159, 67); — Tailwind CSS: bg-[hsl(42,54%,52%)] — CSS variable: --color-primary: hsl(42, 54%, 52%);