#BB982A#BB982A
#BB982A is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.3% C 0.128 H 90.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BB982A |
|---|---|
| RGB | rgb(187, 152, 42) |
| HSL | hsl(46, 63%, 45%) |
| HSV | hsv(46, 78%, 73%) |
| CMYK | cmyk(0%, 18.7%, 77.5%, 26.7%) |
| CIE-LAB | lab(64.31, 2.16, 58.72) |
| CIE-LCH | lch(64.31, 58.76, 87.89°) |
| OKLab | oklab(69.32% -0.0003 0.1282) |
| OKLCH | oklch(69.32% 0.128 90.1) |
| XYZ | xyz(32.1416, 33.1905, 6.9035) |
| Luminance | 0.3319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.26
Ocher
#BF9B0C
ΔE00 2.50
Yellow Brown
#B79400
ΔE00 2.56
Ocre
#C69C04
ΔE00 3.39
Brown Yellow
#B29705
ΔE00 3.57
Baby Shit Brown
#AD900D
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB982A #2A4DBB
analogous
#BB4F2A #BB982A #96BB2A
triadic
#BB982A #2ABB98 #982ABB
tetradic
#BB982A #2ABB4F #2A4DBB #BB2A96
square
#BB982A #2ABB4F #2A4DBB #BB2A96
split-complementary
#BB982A #2A96BB #4F2ABB
monochromatic
#574714 #896F1F #BB982A #D7B54C #E2CA7D
Accessibility & contrast
On white
2.75
#BB982A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#BB982A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB982A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB982A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB982A | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#CB8B83
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #bb982a; /* rgb */ color: rgb(187, 152, 42); /* oklch */ color: oklch(69.3% 0.128 90.1);
Tailwind
colors: {
custom: {
50: '#d4b56c',
500: '#bb982a',
950: '#000000',
},
}SCSS
$custom: #bb982a; $custom-light: #d4b56c; $custom-dark: #000000;
JSON
{
"hex": "#bb982a",
"rgb": {
"r": 187,
"g": 152,
"b": 42
},
"hsl": {
"h": 45.517,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.69322,
"c": 0.12821,
"h": 90.1
},
"luminance": 0.33188
}Semantic roles & 50–950 ramp
primary
#BB982A
secondary
#768BCA
accent
#69E641
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A