#BB9E2F#BB9E2F
#BB9E2F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.129 H 93.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9E2F |
|---|---|
| RGB | rgb(187, 158, 47) |
| HSL | hsl(48, 60%, 46%) |
| HSV | hsv(48, 75%, 73%) |
| CMYK | cmyk(0%, 15.5%, 74.9%, 26.7%) |
| CIE-LAB | lab(65.92, -0.87, 58.41) |
| CIE-LCH | lch(65.92, 58.41, 90.85°) |
| OKLab | oklab(70.6% -0.0084 0.1286) |
| OKLCH | oklch(70.6% 0.129 93.8) |
| XYZ | xyz(33.2353, 35.2257, 7.7374) |
| Luminance | 0.3522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.84
Brown Yellow
#B29705
ΔE00 3.24
Dark Gold
#B59410
ΔE00 3.40
Yellow Brown
#B79400
ΔE00 3.78
Ocre
#C69C04
ΔE00 4.15
Baby Shit Brown
#AD900D
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9E2F #2F4CBB
analogous
#BB582F #BB9E2F #92BB2F
triadic
#BB9E2F #2FBB9E #9E2FBB
tetradic
#BB9E2F #2FBB58 #2F4CBB #BB2F92
square
#BB9E2F #2FBB58 #2F4CBB #BB2F92
split-complementary
#BB9E2F #2F92BB #582FBB
monochromatic
#594B16 #8A7523 #BB9E2F #D4B953 #E0CD84
Accessibility & contrast
On white
2.61
#BB9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#BB9E2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9E2F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9E2F | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#CA9188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #bb9e2f; /* rgb */ color: rgb(187, 158, 47); /* oklch */ color: oklch(70.6% 0.129 93.8);
Tailwind
colors: {
custom: {
50: '#d3ba6f',
500: '#bb9e2f',
950: '#000000',
},
}SCSS
$custom: #bb9e2f; $custom-light: #d3ba6f; $custom-dark: #000000;
JSON
{
"hex": "#bb9e2f",
"rgb": {
"r": 187,
"g": 158,
"b": 47
},
"hsl": {
"h": 47.571,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.70602,
"c": 0.12884,
"h": 93.8
},
"luminance": 0.35224
}Semantic roles & 50–950 ramp
primary
#BB9E2F
secondary
#7C8CC9
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B