#BBAF4A#BBAF4A
#BBAF4A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.123 H 102.6°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF4A |
|---|---|
| RGB | rgb(187, 175, 74) |
| HSL | hsl(54, 45%, 51%) |
| HSV | hsv(54, 60%, 73%) |
| CMYK | cmyk(0%, 6.4%, 60.4%, 26.7%) |
| CIE-LAB | lab(70.68, -8.33, 52.04) |
| CIE-LCH | lch(70.68, 52.70, 99.09°) |
| OKLab | oklab(74.44% -0.0266 0.1196) |
| OKLCH | oklch(74.44% 0.123 102.6) |
| XYZ | xyz(37.0609, 41.7206, 12.5779) |
| Luminance | 0.4172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.89
Muddy Yellow
#BFAC05
ΔE00 5.51
Olive Yellow
#C2B709
ΔE00 5.98
Khaki (survey)
#AAA662
ΔE00 6.47
Puke
#A5A502
ΔE00 6.47
Vomit
#A2A415
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF4A #4A56BB
analogous
#BB764A #BBAF4A #8EBB4A
triadic
#BBAF4A #4ABBAF #AF4ABB
tetradic
#BBAF4A #4ABB76 #4A56BB #BB4A8E
square
#BBAF4A #4ABB76 #4A56BB #BB4A8E
split-complementary
#BBAF4A #4A8EBB #764ABB
monochromatic
#655E26 #918837 #BBAF4A #CCC376 #DCD6A3
Accessibility & contrast
On white
2.25
#BBAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#BBAF4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF4A
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF4A | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3F
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bbaf4a; /* rgb */ color: rgb(187, 175, 74); /* oklch */ color: oklch(74.4% 0.123 102.6);
Tailwind
colors: {
custom: {
50: '#d2c680',
500: '#bbaf4a',
950: '#000000',
},
}SCSS
$custom: #bbaf4a; $custom-light: #d2c680; $custom-dark: #000000;
JSON
{
"hex": "#bbaf4a",
"rgb": {
"r": 187,
"g": 175,
"b": 74
},
"hsl": {
"h": 53.628,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.74436,
"c": 0.12252,
"h": 102.6
},
"luminance": 0.41719
}Semantic roles & 50–950 ramp
primary
#BBAF4A
secondary
#979DC9
accent
#61D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C