#BB9F2F#BB9F2F
#BB9F2F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.129 H 94.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9F2F |
|---|---|
| RGB | rgb(187, 159, 47) |
| HSL | hsl(48, 60%, 46%) |
| HSV | hsv(48, 75%, 73%) |
| CMYK | cmyk(0%, 15%, 74.9%, 26.7%) |
| CIE-LAB | lab(66.19, -1.40, 58.66) |
| CIE-LCH | lch(66.19, 58.68, 91.37°) |
| OKLab | oklab(70.81% -0.01 0.1291) |
| OKLCH | oklch(70.81% 0.129 94.4) |
| XYZ | xyz(33.4065, 35.5682, 7.7945) |
| Luminance | 0.3557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.03
Brown Yellow
#B29705
ΔE00 3.30
Dark Gold
#B59410
ΔE00 3.67
Yellow Brown
#B79400
ΔE00 4.05
Ocre
#C69C04
ΔE00 4.36
Baby Shit Brown
#AD900D
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9F2F #2F4BBB
analogous
#BB592F #BB9F2F #91BB2F
triadic
#BB9F2F #2FBB9F #9F2FBB
tetradic
#BB9F2F #2FBB59 #2F4BBB #BB2F91
square
#BB9F2F #2FBB59 #2F4BBB #BB2F91
split-complementary
#BB9F2F #2F91BB #592FBB
monochromatic
#594C16 #8A7523 #BB9F2F #D4BA53 #E0CE84
Accessibility & contrast
On white
2.59
#BB9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#BB9F2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9F2F
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9F2F | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1C
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#CA9289
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #bb9f2f; /* rgb */ color: rgb(187, 159, 47); /* oklch */ color: oklch(70.8% 0.129 94.4);
Tailwind
colors: {
custom: {
50: '#d3bb70',
500: '#bb9f2f',
950: '#000000',
},
}SCSS
$custom: #bb9f2f; $custom-light: #d3bb70; $custom-dark: #000000;
JSON
{
"hex": "#bb9f2f",
"rgb": {
"r": 187,
"g": 159,
"b": 47
},
"hsl": {
"h": 48,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.70811,
"c": 0.12948,
"h": 94.4
},
"luminance": 0.35566
}Semantic roles & 50–950 ramp
primary
#BB9F2F
secondary
#7C8CC9
accent
#64E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B