#BDB166#BDB166
#BDB166 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.097 H 100.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB166 |
|---|---|
| RGB | rgb(189, 177, 102) |
| HSL | hsl(52, 40%, 57%) |
| HSV | hsv(52, 46%, 74%) |
| CMYK | cmyk(0%, 6.3%, 46%, 25.9%) |
| CIE-LAB | lab(71.71, -6.16, 39.75) |
| CIE-LCH | lch(71.71, 40.22, 98.81°) |
| OKLab | oklab(75.4% -0.0175 0.0956) |
| OKLCH | oklch(75.4% 0.097 100.4) |
| XYZ | xyz(39.1077, 43.2237, 18.8508) |
| Luminance | 0.4322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.25
Khaki (survey)
#AAA662
ΔE00 4.48
Sand
#C2B280
ΔE00 5.52
Desert
#CCAD60
ΔE00 5.85
Sandstone
#C9AE74
ΔE00 6.28
Sandy Brown
#C4A661
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB166 #6672BD
analogous
#BD8666 #BDB166 #9EBD66
triadic
#BDB166 #66BDB1 #B166BD
tetradic
#BDB166 #66BD86 #6672BD #BD669E
square
#BDB166 #66BD86 #6672BD #BD669E
split-complementary
#BDB166 #669EBD #8666BD
monochromatic
#766D33 #A19445 #BDB166 #CFC791 #E2DDBC
Accessibility & contrast
On white
2.18
#BDB166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#BDB166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB166
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB166 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD60
Deuteranopia (green-blind)
#C1B269
Tritanopia (blue-blind)
#C9A79F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bdb166; /* rgb */ color: rgb(189, 177, 102); /* oklch */ color: oklch(75.4% 0.097 100.4);
Tailwind
colors: {
custom: {
50: '#d2c893',
500: '#bdb166',
950: '#000000',
},
}SCSS
$custom: #bdb166; $custom-light: #d2c893; $custom-dark: #000000;
JSON
{
"hex": "#bdb166",
"rgb": {
"r": 189,
"g": 177,
"b": 102
},
"hsl": {
"h": 51.724,
"s": 39.726,
"l": 57.059
},
"oklch": {
"l": 0.75397,
"c": 0.09719,
"h": 100.4
},
"luminance": 0.43222
}Semantic roles & 50–950 ramp
primary
#BDB166
secondary
#AEB3D1
accent
#69D058
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E