#BFAF5D#BFAF5D
#BFAF5D is a light, moderate yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.105 H 98.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAF5D |
|---|---|
| RGB | rgb(191, 175, 93) |
| HSL | hsl(50, 43%, 56%) |
| HSV | hsv(50, 51%, 75%) |
| CMYK | cmyk(0%, 8.4%, 51.3%, 25.1%) |
| CIE-LAB | lab(71.23, -5.12, 43.73) |
| CIE-LCH | lch(71.23, 44.03, 96.68°) |
| OKLab | oklab(75.03% -0.0155 0.1037) |
| OKLCH | oklch(75.03% 0.105 98.5) |
| XYZ | xyz(38.7928, 42.5281, 16.5191) |
| Luminance | 0.4253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.66
Desert
#CCAD60
ΔE00 4.83
Khaki (survey)
#AAA662
ΔE00 5.39
Sandy Brown
#C4A661
ΔE00 5.54
Tan (survey)
#D1B26F
ΔE00 6.07
Sandstone
#C9AE74
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAF5D #5D6DBF
analogous
#BF7E5D #BFAF5D #9EBF5D
triadic
#BFAF5D #5DBFAF #AF5DBF
tetradic
#BFAF5D #5DBF7E #5D6DBF #BF5D9E
square
#BFAF5D #5DBF7E #5D6DBF #BF5D9E
split-complementary
#BFAF5D #5D9EBF #7E5DBF
monochromatic
#74682E #A0903F #BFAF5D #D0C589 #E2DAB5
Accessibility & contrast
On white
2.21
#BFAF5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#BFAF5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAF5D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAF5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAF5D | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAB56
Deuteranopia (green-blind)
#C1B161
Tritanopia (blue-blind)
#CCA59C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bfaf5d; /* rgb */ color: rgb(191, 175, 93); /* oklch */ color: oklch(75.0% 0.105 98.5);
Tailwind
colors: {
custom: {
50: '#d4c68d',
500: '#bfaf5d',
950: '#000000',
},
}SCSS
$custom: #bfaf5d; $custom-light: #d4c68d; $custom-dark: #000000;
JSON
{
"hex": "#bfaf5d",
"rgb": {
"r": 191,
"g": 175,
"b": 93
},
"hsl": {
"h": 50.204,
"s": 43.363,
"l": 55.686
},
"oklch": {
"l": 0.75027,
"c": 0.10485,
"h": 98.5
},
"luminance": 0.42527
}Semantic roles & 50–950 ramp
primary
#BFAF5D
secondary
#A8AED0
accent
#69D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D