#BBAB3E#BBAB3E
#BBAB3E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.129 H 100.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAB3E |
|---|---|
| RGB | rgb(187, 171, 62) |
| HSL | hsl(52, 50%, 49%) |
| HSV | hsv(52, 67%, 73%) |
| CMYK | cmyk(0%, 8.6%, 66.8%, 26.7%) |
| CIE-LAB | lab(69.50, -7.01, 56.01) |
| CIE-LCH | lch(69.50, 56.45, 97.13°) |
| OKLab | oklab(73.47% -0.0243 0.1262) |
| OKLCH | oklch(73.47% 0.129 100.9) |
| XYZ | xyz(35.9275, 40.0400, 10.3925) |
| Luminance | 0.4004 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.10
Brownish Yellow
#C9B003
ΔE00 5.25
Olive Yellow
#C2B709
ΔE00 5.55
Puke
#A5A502
ΔE00 5.93
Mustard (survey)
#CEB301
ΔE00 6.03
Vomit
#A2A415
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAB3E #3E4EBB
analogous
#BB6D3E #BBAB3E #8DBB3E
triadic
#BBAB3E #3EBBAB #AB3EBB
tetradic
#BBAB3E #3EBB6D #3E4EBB #BB3E8D
square
#BBAB3E #3EBB6D #3E4EBB #BB3E8D
split-complementary
#BBAB3E #3E8DBB #6D3EBB
monochromatic
#5F5720 #8D812F #BBAB3E #CDC069 #DCD497
Accessibility & contrast
On white
2.33
#BBAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#BBAB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAB3E
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAB3E | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA630
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#C99F95
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #bbab3e; /* rgb */ color: rgb(187, 171, 62); /* oklch */ color: oklch(73.5% 0.129 100.9);
Tailwind
colors: {
custom: {
50: '#d3c379',
500: '#bbab3e',
950: '#000000',
},
}SCSS
$custom: #bbab3e; $custom-light: #d3c379; $custom-dark: #000000;
JSON
{
"hex": "#bbab3e",
"rgb": {
"r": 187,
"g": 171,
"b": 62
},
"hsl": {
"h": 52.32,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.73466,
"c": 0.12852,
"h": 100.9
},
"luminance": 0.40038
}Semantic roles & 50–950 ramp
primary
#BBAB3E
secondary
#8D94C8
accent
#60DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B