#D9B342#D9B342
#D9B342 is a light, vivid orange. Relative luminance 0.474; OKLCH L 78.0% C 0.135 H 90.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D9B342 |
|---|---|
| RGB | rgb(217, 179, 66) |
| HSL | hsl(45, 67%, 55%) |
| HSV | hsv(45, 70%, 85%) |
| CMYK | cmyk(0%, 17.5%, 69.6%, 14.9%) |
| CIE-LAB | lab(74.44, 1.95, 60.33) |
| CIE-LCH | lch(74.44, 60.36, 88.15°) |
| OKLab | oklab(78.04% 0 0.135) |
| OKLCH | oklch(78.04% 0.135 90) |
| XYZ | xyz(45.7212, 47.3880, 11.8918) |
| Luminance | 0.4738 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.21
Burnt Yellow
#D5AB09
ΔE00 3.86
Gold (survey)
#DBB40C
ΔE00 3.88
Dark Yellow
#D5B60A
ΔE00 4.80
Goldenrod
#DAA520
ΔE00 5.15
Desert
#CCAD60
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9B342 #4268D9
analogous
#D96842 #D9B342 #B3D942
triadic
#D9B342 #42D9B3 #B342D9
tetradic
#D9B342 #42D968 #4268D9 #D942B3
square
#D9B342 #42D968 #4268D9 #D942B3
split-complementary
#D9B342 #42B3D9 #6842D9
monochromatic
#866B1B #B99425 #D9B342 #E3C775 #EDDCA8
Accessibility & contrast
On white
2.00
#D9B342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#D9B342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9B342
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9B342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9B342 | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#EBA49C
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #d9b342; /* rgb */ color: rgb(217, 179, 66); /* oklch */ color: oklch(78.0% 0.135 90.0);
Tailwind
colors: {
custom: {
50: '#e9c97c',
500: '#d9b342',
950: '#000000',
},
}SCSS
$custom: #d9b342; $custom-light: #e9c97c; $custom-dark: #000000;
JSON
{
"hex": "#d9b342",
"rgb": {
"r": 217,
"g": 179,
"b": 66
},
"hsl": {
"h": 44.901,
"s": 66.52,
"l": 55.49
},
"oklch": {
"l": 0.78042,
"c": 0.13502,
"h": 90
},
"luminance": 0.47385
}Semantic roles & 50–950 ramp
primary
#D9B342
secondary
#9CACDB
accent
#69E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C