#D9B242#D9B242
#D9B242 is a light, vivid orange. Relative luminance 0.470; OKLCH L 77.8% C 0.134 H 89.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #D9B242 |
|---|---|
| RGB | rgb(217, 178, 66) |
| HSL | hsl(45, 67%, 55%) |
| HSV | hsv(45, 70%, 85%) |
| CMYK | cmyk(0%, 18%, 69.6%, 14.9%) |
| CIE-LAB | lab(74.18, 2.48, 60.07) |
| CIE-LCH | lch(74.18, 60.12, 87.64°) |
| OKLab | oklab(77.84% 0.0016 0.1345) |
| OKLCH | oklch(77.84% 0.134 89.3) |
| XYZ | xyz(45.5215, 46.9886, 11.8252) |
| Luminance | 0.4699 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.41
Burnt Yellow
#D5AB09
ΔE00 3.82
Gold (survey)
#DBB40C
ΔE00 4.06
Goldenrod
#DAA520
ΔE00 4.82
Dark Yellow
#D5B60A
ΔE00 5.09
Desert
#CCAD60
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9B242 #4269D9
analogous
#D96642 #D9B242 #B5D942
triadic
#D9B242 #42D9B2 #B242D9
tetradic
#D9B242 #42D966 #4269D9 #D942B5
square
#D9B242 #42D966 #4269D9 #D942B5
split-complementary
#D9B242 #42B5D9 #6642D9
monochromatic
#866A1B #B99325 #D9B242 #E3C775 #EDDCA8
Accessibility & contrast
On white
2.02
#D9B242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#D9B242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9B242
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9B242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9B242 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#EBA39B
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d9b242; /* rgb */ color: rgb(217, 178, 66); /* oklch */ color: oklch(77.8% 0.134 89.3);
Tailwind
colors: {
custom: {
50: '#e9c87c',
500: '#d9b242',
950: '#000000',
},
}SCSS
$custom: #d9b242; $custom-light: #e9c87c; $custom-dark: #000000;
JSON
{
"hex": "#d9b242",
"rgb": {
"r": 217,
"g": 178,
"b": 66
},
"hsl": {
"h": 44.503,
"s": 66.52,
"l": 55.49
},
"oklch": {
"l": 0.77841,
"c": 0.13448,
"h": 89.3
},
"luminance": 0.46986
}Semantic roles & 50–950 ramp
primary
#D9B242
secondary
#9CACDB
accent
#6BE93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C