#D1BF4F#D1BF4F
#D1BF4F is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.133 H 100.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D1BF4F |
|---|---|
| RGB | rgb(209, 191, 79) |
| HSL | hsl(52, 59%, 56%) |
| HSV | hsv(52, 62%, 82%) |
| CMYK | cmyk(0%, 8.6%, 62.2%, 18%) |
| CIE-LAB | lab(76.91, -6.95, 57.19) |
| CIE-LCH | lch(76.91, 57.61, 96.93°) |
| OKLab | oklab(79.86% -0.0235 0.1307) |
| OKLCH | oklch(79.86% 0.133 100.2) |
| XYZ | xyz(46.3384, 51.3834, 14.8728) |
| Luminance | 0.5138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.88
Ugly Yellow
#D0C101
ΔE00 5.25
Olive Yellow
#C2B709
ΔE00 5.33
Sand (survey)
#E2CA76
ΔE00 5.55
Vomit Yellow
#C7C10C
ΔE00 5.64
Mustard (survey)
#CEB301
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1BF4F #4F61D1
analogous
#D17E4F #D1BF4F #A2D14F
triadic
#D1BF4F #4FD1BF #BF4FD1
tetradic
#D1BF4F #4FD17E #4F61D1 #D14FA2
square
#D1BF4F #4FD17E #4F61D1 #D14FA2
split-complementary
#D1BF4F #4FA2D1 #7E4FD1
monochromatic
#837622 #B4A12F #D1BF4F #DED180 #EAE2B0
Accessibility & contrast
On white
1.86
#D1BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.28
#D1BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1BF4F
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1BF4F | 1.00 | 1.86 | 11.28 | 11.28 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E0B2A7
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #d1bf4f; /* rgb */ color: rgb(209, 191, 79); /* oklch */ color: oklch(79.9% 0.133 100.2);
Tailwind
colors: {
custom: {
50: '#e2d285',
500: '#d1bf4f',
950: '#000000',
},
}SCSS
$custom: #d1bf4f; $custom-light: #e2d285; $custom-dark: #000000;
JSON
{
"hex": "#d1bf4f",
"rgb": {
"r": 209,
"g": 191,
"b": 79
},
"hsl": {
"h": 51.692,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.79858,
"c": 0.13278,
"h": 100.2
},
"luminance": 0.51381
}Semantic roles & 50–950 ramp
primary
#D1BF4F
secondary
#3A458A
accent
#5CE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E