#D2BF4F#D2BF4F
#D2BF4F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.133 H 99.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D2BF4F |
|---|---|
| RGB | rgb(210, 191, 79) |
| HSL | hsl(51, 59%, 57%) |
| HSV | hsv(51, 62%, 82%) |
| CMYK | cmyk(0%, 9%, 62.4%, 17.6%) |
| CIE-LAB | lab(77.00, -6.53, 57.31) |
| CIE-LCH | lch(77.00, 57.68, 96.50°) |
| OKLab | oklab(79.95% -0.0223 0.1309) |
| OKLCH | oklch(79.95% 0.133 99.7) |
| XYZ | xyz(46.6223, 51.5298, 14.8861) |
| Luminance | 0.5153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.83
Ugly Yellow
#D0C101
ΔE00 5.28
Sand (survey)
#E2CA76
ΔE00 5.43
Olive Yellow
#C2B709
ΔE00 5.43
Dark Yellow
#D5B60A
ΔE00 5.63
Mustard (survey)
#CEB301
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2BF4F #4F62D2
analogous
#D27E4F #D2BF4F #A4D24F
triadic
#D2BF4F #4FD2BF #BF4FD2
tetradic
#D2BF4F #4FD27E #4F62D2 #D24FA4
square
#D2BF4F #4FD27E #4F62D2 #D24FA4
split-complementary
#D2BF4F #4FA4D2 #7E4FD2
monochromatic
#857622 #B5A22E #D2BF4F #DED180 #EBE2B0
Accessibility & contrast
On white
1.86
#D2BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.31
#D2BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2BF4F
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2BF4F | 1.00 | 1.86 | 11.31 | 11.31 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#E1B2A7
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #d2bf4f; /* rgb */ color: rgb(210, 191, 79); /* oklch */ color: oklch(79.9% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#e3d285',
500: '#d2bf4f',
950: '#000000',
},
}SCSS
$custom: #d2bf4f; $custom-light: #e3d285; $custom-dark: #000000;
JSON
{
"hex": "#d2bf4f",
"rgb": {
"r": 210,
"g": 191,
"b": 79
},
"hsl": {
"h": 51.298,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.79949,
"c": 0.1328,
"h": 99.7
},
"luminance": 0.51528
}Semantic roles & 50–950 ramp
primary
#D2BF4F
secondary
#3A468C
accent
#5CE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E