#D6BF4F#D6BF4F
#D6BF4F is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.133 H 97.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D6BF4F |
|---|---|
| RGB | rgb(214, 191, 79) |
| HSL | hsl(50, 62%, 57%) |
| HSV | hsv(50, 63%, 84%) |
| CMYK | cmyk(0%, 10.7%, 63.1%, 16.1%) |
| CIE-LAB | lab(77.36, -4.84, 57.80) |
| CIE-LCH | lch(77.36, 58.00, 94.79°) |
| OKLab | oklab(80.32% -0.0178 0.1319) |
| OKLCH | oklch(80.32% 0.133 97.7) |
| XYZ | xyz(47.7757, 52.1245, 14.9401) |
| Luminance | 0.5212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.07
Dark Yellow
#D5B60A
ΔE00 5.13
Mustard
#DBB42C
ΔE00 5.28
Mustard (survey)
#CEB301
ΔE00 5.38
Ugly Yellow
#D0C101
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6BF4F #4F66D6
analogous
#D67C4F #D6BF4F #A9D64F
triadic
#D6BF4F #4FD6BF #BF4FD6
tetradic
#D6BF4F #4FD67C #4F66D6 #D64FA9
square
#D6BF4F #4FD67C #4F66D6 #D64FA9
split-complementary
#D6BF4F #4FA9D6 #7C4FD6
monochromatic
#8A7820 #BCA32C #D6BF4F #E2D181 #EDE3B2
Accessibility & contrast
On white
1.84
#D6BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#D6BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6BF4F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6BF4F | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D7C255
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d6bf4f; /* rgb */ color: rgb(214, 191, 79); /* oklch */ color: oklch(80.3% 0.133 97.7);
Tailwind
colors: {
custom: {
50: '#e6d285',
500: '#d6bf4f',
950: '#000000',
},
}SCSS
$custom: #d6bf4f; $custom-light: #e6d285; $custom-dark: #000000;
JSON
{
"hex": "#d6bf4f",
"rgb": {
"r": 214,
"g": 191,
"b": 79
},
"hsl": {
"h": 49.778,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.80316,
"c": 0.13304,
"h": 97.7
},
"luminance": 0.52122
}Semantic roles & 50–950 ramp
primary
#D6BF4F
secondary
#394890
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E