#BBB52E#BBB52E
#BBB52E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.148 H 106.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB52E |
|---|---|
| RGB | rgb(187, 181, 46) |
| HSL | hsl(57, 61%, 46%) |
| HSV | hsv(57, 75%, 73%) |
| CMYK | cmyk(0%, 3.2%, 75.4%, 26.7%) |
| CIE-LAB | lab(72.10, -12.99, 64.57) |
| CIE-LCH | lch(72.10, 65.86, 101.38°) |
| OKLab | oklab(75.51% -0.0428 0.1415) |
| OKLCH | oklch(75.51% 0.148 106.8) |
| XYZ | xyz(37.5121, 43.8111, 9.0647) |
| Luminance | 0.4381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.73
Puke Yellow
#C2BE0E
ΔE00 3.29
Vomit Yellow
#C7C10C
ΔE00 4.11
Muddy Yellow
#BFAC05
ΔE00 4.37
Mustard Green
#A8B504
ΔE00 4.69
Snot
#ACBB0D
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB52E #2E34BB
analogous
#BB6E2E #BBB52E #7ABB2E
triadic
#BBB52E #2EBBB5 #B52EBB
tetradic
#BBB52E #2EBB6E #2E34BB #BB2E7A
square
#BBB52E #2EBB6E #2E34BB #BB2E7A
split-complementary
#BBB52E #2E7ABB #6E2EBB
monochromatic
#595616 #8A8522 #BBB52E #D4CF52 #E0DC83
Accessibility & contrast
On white
2.15
#BBB52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#BBB52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB52E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB52E | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C9A99C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bbb52e; /* rgb */ color: rgb(187, 181, 46); /* oklch */ color: oklch(75.5% 0.148 106.8);
Tailwind
colors: {
custom: {
50: '#d3ca72',
500: '#bbb52e',
950: '#000000',
},
}SCSS
$custom: #bbb52e; $custom-light: #d3ca72; $custom-dark: #000000;
JSON
{
"hex": "#bbb52e",
"rgb": {
"r": 187,
"g": 181,
"b": 46
},
"hsl": {
"h": 57.447,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.75505,
"c": 0.1478,
"h": 106.8
},
"luminance": 0.4381
}Semantic roles & 50–950 ramp
primary
#BBB52E
secondary
#7B7FCA
accent
#4BE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B