#BBAF4F#BBAF4F
#BBAF4F is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.118 H 102.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF4F |
|---|---|
| RGB | rgb(187, 175, 79) |
| HSL | hsl(53, 44%, 52%) |
| HSV | hsv(53, 58%, 73%) |
| CMYK | cmyk(0%, 6.4%, 57.8%, 26.7%) |
| CIE-LAB | lab(70.73, -7.96, 49.80) |
| CIE-LCH | lch(70.73, 50.43, 99.08°) |
| OKLab | oklab(74.49% -0.025 0.1154) |
| OKLCH | oklch(74.49% 0.118 102.2) |
| XYZ | xyz(37.2361, 41.7906, 13.5006) |
| Luminance | 0.4179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.32
Khaki (survey)
#AAA662
ΔE00 5.93
Muddy Yellow
#BFAC05
ΔE00 6.13
Olive Yellow
#C2B709
ΔE00 6.62
Desert
#CCAD60
ΔE00 6.79
Vomit
#A2A415
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF4F #4F5BBB
analogous
#BB794F #BBAF4F #91BB4F
triadic
#BBAF4F #4FBBAF #AF4FBB
tetradic
#BBAF4F #4FBB79 #4F5BBB #BB4F91
square
#BBAF4F #4FBB79 #4F5BBB #BB4F91
split-complementary
#BBAF4F #4F91BB #794FBB
monochromatic
#686128 #948A39 #BBAF4F #CCC37B #DDD7A7
Accessibility & contrast
On white
2.24
#BBAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#BBAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF4F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF4F | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C1AF54
Tritanopia (blue-blind)
#C8A49A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf4f; /* rgb */ color: rgb(187, 175, 79); /* oklch */ color: oklch(74.5% 0.118 102.2);
Tailwind
colors: {
custom: {
50: '#d2c684',
500: '#bbaf4f',
950: '#000000',
},
}SCSS
$custom: #bbaf4f; $custom-light: #d2c684; $custom-dark: #000000;
JSON
{
"hex": "#bbaf4f",
"rgb": {
"r": 187,
"g": 175,
"b": 79
},
"hsl": {
"h": 53.333,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.7449,
"c": 0.11812,
"h": 102.2
},
"luminance": 0.41789
}Semantic roles & 50–950 ramp
primary
#BBAF4F
secondary
#9BA1CA
accent
#62D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C