#BB9D2B#BB9D2B
#BB9D2B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.4% C 0.131 H 93.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9D2B |
|---|---|
| RGB | rgb(187, 157, 43) |
| HSL | hsl(48, 63%, 45%) |
| HSV | hsv(48, 77%, 73%) |
| CMYK | cmyk(0%, 16%, 77%, 26.7%) |
| CIE-LAB | lab(65.64, -0.50, 59.59) |
| CIE-LCH | lch(65.64, 59.60, 90.48°) |
| OKLab | oklab(70.37% -0.0078 0.1303) |
| OKLCH | oklch(70.37% 0.131 93.4) |
| XYZ | xyz(32.9884, 34.8551, 7.2752) |
| Luminance | 0.3485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.41
Brown Yellow
#B29705
ΔE00 2.94
Dark Gold
#B59410
ΔE00 2.98
Yellow Brown
#B79400
ΔE00 3.33
Ocre
#C69C04
ΔE00 3.78
Baby Shit Brown
#AD900D
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9D2B #2B49BB
analogous
#BB552B #BB9D2B #91BB2B
triadic
#BB9D2B #2BBB9D #9D2BBB
tetradic
#BB9D2B #2BBB55 #2B49BB #BB2B91
square
#BB9D2B #2BBB55 #2B49BB #BB2B91
split-complementary
#BB9D2B #2B91BB #552BBB
monochromatic
#574914 #897320 #BB9D2B #D6BA4D #E2CD7F
Accessibility & contrast
On white
2.63
#BB9D2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#BB9D2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9D2B
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9D2B | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A15
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#CA9087
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #bb9d2b; /* rgb */ color: rgb(187, 157, 43); /* oklch */ color: oklch(70.4% 0.131 93.4);
Tailwind
colors: {
custom: {
50: '#d4b96d',
500: '#bb9d2b',
950: '#000000',
},
}SCSS
$custom: #bb9d2b; $custom-light: #d4b96d; $custom-dark: #000000;
JSON
{
"hex": "#bb9d2b",
"rgb": {
"r": 187,
"g": 157,
"b": 43
},
"hsl": {
"h": 47.5,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.70367,
"c": 0.13051,
"h": 93.4
},
"luminance": 0.34853
}Semantic roles & 50–950 ramp
primary
#BB9D2B
secondary
#7889CA
accent
#64E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B