#BDB45F#BDB45F
#BDB45F is a light, moderate yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.108 H 103.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB45F |
|---|---|
| RGB | rgb(189, 180, 95) |
| HSL | hsl(54, 42%, 56%) |
| HSV | hsv(54, 50%, 74%) |
| CMYK | cmyk(0%, 4.8%, 49.7%, 25.9%) |
| CIE-LAB | lab(72.42, -8.40, 44.13) |
| CIE-LCH | lch(72.42, 44.92, 100.77°) |
| OKLab | oklab(75.93% -0.0246 0.1048) |
| OKLCH | oklch(75.93% 0.108 103.2) |
| XYZ | xyz(39.3741, 44.2888, 17.2988) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.98
Khaki (survey)
#AAA662
ΔE00 5.26
Desert
#CCAD60
ΔE00 7.02
Sand
#C2B280
ΔE00 7.31
Light Olive
#ACBF69
ΔE00 7.67
Sand (survey)
#E2CA76
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB45F #5F68BD
analogous
#BD855F #BDB45F #97BD5F
triadic
#BDB45F #5FBDB4 #B45FBD
tetradic
#BDB45F #5FBD85 #5F68BD #BD5F97
square
#BDB45F #5FBD85 #5F68BD #BD5F97
split-complementary
#BDB45F #5F97BD #855FBD
monochromatic
#726C2F #9E9541 #BDB45F #CFC88A #E1DDB6
Accessibility & contrast
On white
2.13
#BDB45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#BDB45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB45F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB45F | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AF58
Deuteranopia (green-blind)
#C4B463
Tritanopia (blue-blind)
#C9AAA0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bdb45f; /* rgb */ color: rgb(189, 180, 95); /* oklch */ color: oklch(75.9% 0.108 103.2);
Tailwind
colors: {
custom: {
50: '#d3ca8e',
500: '#bdb45f',
950: '#000000',
},
}SCSS
$custom: #bdb45f; $custom-light: #d3ca8e; $custom-dark: #000000;
JSON
{
"hex": "#bdb45f",
"rgb": {
"r": 189,
"g": 180,
"b": 95
},
"hsl": {
"h": 54.255,
"s": 41.593,
"l": 55.686
},
"oklch": {
"l": 0.75934,
"c": 0.10761,
"h": 103.2
},
"luminance": 0.44288
}Semantic roles & 50–950 ramp
primary
#BDB45F
secondary
#A8ACCF
accent
#62D156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D