#D1B34F#D1B34F
#D1B34F is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.124 H 92.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #D1B34F |
|---|---|
| RGB | rgb(209, 179, 79) |
| HSL | hsl(46, 59%, 56%) |
| HSV | hsv(46, 62%, 82%) |
| CMYK | cmyk(0%, 14.4%, 62.2%, 18%) |
| CIE-LAB | lab(73.78, -0.70, 53.76) |
| CIE-LCH | lch(73.78, 53.77, 90.74°) |
| OKLab | oklab(77.38% -0.0055 0.1234) |
| OKLCH | oklch(77.38% 0.124 92.6) |
| XYZ | xyz(43.8279, 46.3623, 14.0359) |
| Luminance | 0.4636 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.92
Mustard
#DBB42C
ΔE00 4.24
Tan (survey)
#D1B26F
ΔE00 5.59
Gold (survey)
#DBB40C
ΔE00 5.68
Dark Yellow
#D5B60A
ΔE00 5.71
Burnt Yellow
#D5AB09
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1B34F #4F6DD1
analogous
#D1724F #D1B34F #AED14F
triadic
#D1B34F #4FD1B3 #B34FD1
tetradic
#D1B34F #4FD172 #4F6DD1 #D14FAE
square
#D1B34F #4FD172 #4F6DD1 #D14FAE
split-complementary
#D1B34F #4FAED1 #724FD1
monochromatic
#836D22 #B4952F #D1B34F #DEC880 #EADDB0
Accessibility & contrast
On white
2.04
#D1B34F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#D1B34F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1B34F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1B34F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1B34F | 1.00 | 2.04 | 10.27 | 10.27 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B044
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#E1A69D
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d1b34f; /* rgb */ color: rgb(209, 179, 79); /* oklch */ color: oklch(77.4% 0.124 92.6);
Tailwind
colors: {
custom: {
50: '#e2c984',
500: '#d1b34f',
950: '#000000',
},
}SCSS
$custom: #d1b34f; $custom-light: #e2c984; $custom-dark: #000000;
JSON
{
"hex": "#d1b34f",
"rgb": {
"r": 209,
"g": 179,
"b": 79
},
"hsl": {
"h": 46.154,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.77381,
"c": 0.12351,
"h": 92.6
},
"luminance": 0.4636
}Semantic roles & 50–950 ramp
primary
#D1B34F
secondary
#A3B0D9
accent
#6AE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C