#BDB277#BDB277
#BDB277 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.079 H 98.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB277 |
|---|---|
| RGB | rgb(189, 178, 119) |
| HSL | hsl(51, 35%, 60%) |
| HSV | hsv(51, 37%, 74%) |
| CMYK | cmyk(0%, 5.8%, 37%, 25.9%) |
| CIE-LAB | lab(72.22, -4.84, 31.60) |
| CIE-LCH | lch(72.22, 31.97, 98.71°) |
| OKLab | oklab(75.89% -0.0122 0.078) |
| OKLCH | oklch(75.89% 0.079 98.9) |
| XYZ | xyz(40.2371, 43.9926, 23.8210) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.85
Darkkhaki
#BDB76B
ΔE00 3.73
Khaki (survey)
#AAA662
ΔE00 4.93
Sandstone
#C9AE74
ΔE00 5.33
Putty
#BEAE8A
ΔE00 6.36
Tan (survey)
#D1B26F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB277 #7782BD
analogous
#BD8F77 #BDB277 #A5BD77
triadic
#BDB277 #77BDB2 #B277BD
tetradic
#BDB277 #77BD8F #7782BD #BD77A5
square
#BDB277 #77BD8F #7782BD #BD77A5
split-complementary
#BDB277 #77A5BD #8F77BD
monochromatic
#7D733D #A69951 #BDB277 #D1C9A0 #E5E1C9
Accessibility & contrast
On white
2.14
#BDB277 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#BDB277 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB277
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB277 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB277 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAF73
Deuteranopia (green-blind)
#C0B379
Tritanopia (blue-blind)
#C7AAA3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bdb277; /* rgb */ color: rgb(189, 178, 119); /* oklch */ color: oklch(75.9% 0.079 98.9);
Tailwind
colors: {
custom: {
50: '#d2c89f',
500: '#bdb277',
950: '#000000',
},
}SCSS
$custom: #bdb277; $custom-light: #d2c89f; $custom-dark: #000000;
JSON
{
"hex": "#bdb277",
"rgb": {
"r": 189,
"g": 178,
"b": 119
},
"hsl": {
"h": 50.571,
"s": 34.653,
"l": 60.392
},
"oklch": {
"l": 0.75888,
"c": 0.07892,
"h": 98.9
},
"luminance": 0.43992
}Semantic roles & 50–950 ramp
primary
#BDB277
secondary
#BBBFD5
accent
#4AAD38
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E