HSL(42, 62%, 57%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,62%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 62%, 57%) | color: hsl(42, 62%, 57%) | |
| HEX | #D5AD4D | color: #D5AD4D | |
| RGB | rgb(213, 173, 77) | color: rgb(213, 173, 77) | |
| CMYK | cmyk(0%, 19%, 64%, 16%) | — | |
| HSV | hsv(42, 64%, 84%) | — | |
| HWB | hwb(42 30% 16%) | color: hwb(42 30% 16%) | |
| OKLCH | oklch(0.7654 0.1227 86.4) | color: oklch(0.7654 0.1227 86.4) | |
| Lab | lab(72.61 4.05 53.49) | color: lab(72.61 4.05 53.49) | |
| LCH | lch(72.61 53.64 85.67) | color: lch(72.61 53.64 85.67) |
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)
#C4C364 — rgb(196, 195, 100)
Deuteranopia (Green-blind)
#C6C96A — rgb(198, 201, 106)
Tritanopia (Blue-blind)
#D3777B — rgb(211, 119, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 62%, 57%);
text
color: hsl(42, 62%, 57%);
border
border: 2px solid hsl(42, 62%, 57%);
gradient light
background: linear-gradient(to right, hsl(42, 62%, 77%), hsl(42, 62%, 57%));
gradient dark
background: linear-gradient(to right, hsl(42, 62%, 57%), hsl(42, 62%, 37%))
hex
background-color: #D5AD4D;
tailwind
bg-[hsl(42,62%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 62%, 57%, 0.4);
css variable
--color-primary: hsl(42, 62%, 57%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 62%, 57%)?
HEX: #D5AD4D | RGB: rgb(213, 173, 77) | CMYK: 0%, 19%, 64%, 16% | HSV: 42°, 64%, 84%. Copy any format from the conversion table above.
What colors go well with #D5AD4D?
The complementary color is HSL(222, 62%, 57%). 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, 62%, 57%) in CSS?
As HSL: color: hsl(42, 62%, 57%); — As HEX: color: #D5AD4D; — As RGB: color: rgb(213, 173, 77); — Tailwind CSS: bg-[hsl(42,62%,57%)] — CSS variable: --color-primary: hsl(42, 62%, 57%);