#BB9E42#BB9E42
#BB9E42 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.8% C 0.115 H 91.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9E42 |
|---|---|
| RGB | rgb(187, 158, 66) |
| HSL | hsl(46, 48%, 50%) |
| HSV | hsv(46, 65%, 73%) |
| CMYK | cmyk(0%, 15.5%, 64.7%, 26.7%) |
| CIE-LAB | lab(66.07, 0.16, 50.63) |
| CIE-LCH | lch(66.07, 50.63, 89.82°) |
| OKLab | oklab(70.76% -0.0033 0.1154) |
| OKLCH | oklch(70.76% 0.115 91.6) |
| XYZ | xyz(33.7054, 35.4137, 10.2134) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.71
Sandy Brown
#C4A661
ΔE00 4.76
Dark Gold
#B59410
ΔE00 4.81
Brown Yellow
#B29705
ΔE00 5.16
Desert
#CCAD60
ΔE00 5.27
Yellow Brown
#B79400
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9E42 #425FBB
analogous
#BB6242 #BB9E42 #9CBB42
triadic
#BB9E42 #42BB9E #9E42BB
tetradic
#BB9E42 #42BB62 #425FBB #BB429C
square
#BB9E42 #42BB62 #425FBB #BB429C
split-complementary
#BB9E42 #429CBB #6242BB
monochromatic
#615222 #8E7832 #BB9E42 #CCB56E #DCCC9C
Accessibility & contrast
On white
2.60
#BB9E42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#BB9E42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9E42
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9E42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9E42 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9C38
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#CA928A
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #bb9e42; /* rgb */ color: rgb(187, 158, 66); /* oklch */ color: oklch(70.8% 0.115 91.6);
Tailwind
colors: {
custom: {
50: '#d3ba7a',
500: '#bb9e42',
950: '#000000',
},
}SCSS
$custom: #bb9e42; $custom-light: #d3ba7a; $custom-dark: #000000;
JSON
{
"hex": "#bb9e42",
"rgb": {
"r": 187,
"g": 158,
"b": 66
},
"hsl": {
"h": 45.62,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.70764,
"c": 0.11549,
"h": 91.6
},
"luminance": 0.35412
}Semantic roles & 50–950 ramp
primary
#BB9E42
secondary
#919EC8
accent
#71D750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B