#BDAF5F#BDAF5F
#BDAF5F is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.103 H 99.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #BDAF5F |
|---|---|
| RGB | rgb(189, 175, 95) |
| HSL | hsl(51, 42%, 56%) |
| HSV | hsv(51, 50%, 74%) |
| CMYK | cmyk(0%, 7.4%, 49.7%, 25.9%) |
| CIE-LAB | lab(71.08, -5.78, 42.51) |
| CIE-LCH | lch(71.08, 42.90, 97.74°) |
| OKLab | oklab(74.87% -0.0171 0.1012) |
| OKLCH | oklch(74.87% 0.103 99.6) |
| XYZ | xyz(38.3829, 42.3064, 16.9684) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.14
Khaki (survey)
#AAA662
ΔE00 4.80
Desert
#CCAD60
ΔE00 5.35
Sandy Brown
#C4A661
ΔE00 5.89
Sand
#C2B280
ΔE00 6.29
Sandstone
#C9AE74
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDAF5F #5F6DBD
analogous
#BD805F #BDAF5F #9CBD5F
triadic
#BDAF5F #5FBDAF #AF5FBD
tetradic
#BDAF5F #5FBD80 #5F6DBD #BD5F9C
square
#BDAF5F #5FBD80 #5F6DBD #BD5F9C
split-complementary
#BDAF5F #5F9CBD #805FBD
monochromatic
#72682F #9E9041 #BDAF5F #CFC58A #E1DAB6
Accessibility & contrast
On white
2.22
#BDAF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#BDAF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDAF5F
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDAF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDAF5F | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCAB58
Deuteranopia (green-blind)
#C0B062
Tritanopia (blue-blind)
#C9A59C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bdaf5f; /* rgb */ color: rgb(189, 175, 95); /* oklch */ color: oklch(74.9% 0.103 99.6);
Tailwind
colors: {
custom: {
50: '#d3c68e',
500: '#bdaf5f',
950: '#000000',
},
}SCSS
$custom: #bdaf5f; $custom-light: #d3c68e; $custom-dark: #000000;
JSON
{
"hex": "#bdaf5f",
"rgb": {
"r": 189,
"g": 175,
"b": 95
},
"hsl": {
"h": 51.064,
"s": 41.593,
"l": 55.686
},
"oklch": {
"l": 0.74872,
"c": 0.10264,
"h": 99.6
},
"luminance": 0.42305
}Semantic roles & 50–950 ramp
primary
#BDAF5F
secondary
#A8AECF
accent
#69D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D