#BBB12E#BBB12E
#BBB12E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.144 H 104.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB12E |
|---|---|
| RGB | rgb(187, 177, 46) |
| HSL | hsl(56, 61%, 46%) |
| HSV | hsv(56, 75%, 73%) |
| CMYK | cmyk(0%, 5.3%, 75.4%, 26.7%) |
| CIE-LAB | lab(71.01, -10.93, 63.56) |
| CIE-LCH | lch(71.01, 64.49, 99.76°) |
| OKLab | oklab(74.64% -0.037 0.1393) |
| OKLCH | oklch(74.64% 0.144 104.9) |
| XYZ | xyz(36.7104, 42.2078, 8.7974) |
| Luminance | 0.4221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.97
Muddy Yellow
#BFAC05
ΔE00 3.32
Puke Yellow
#C2BE0E
ΔE00 4.31
Brownish Yellow
#C9B003
ΔE00 4.68
Puke
#A5A502
ΔE00 4.87
Vomit Yellow
#C7C10C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB12E #2E38BB
analogous
#BB6B2E #BBB12E #7EBB2E
triadic
#BBB12E #2EBBB1 #B12EBB
tetradic
#BBB12E #2EBB6B #2E38BB #BB2E7E
square
#BBB12E #2EBB6B #2E38BB #BB2E7E
split-complementary
#BBB12E #2E7EBB #6B2EBB
monochromatic
#595416 #8A8322 #BBB12E #D4CB52 #E0DA83
Accessibility & contrast
On white
2.22
#BBB12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#BBB12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB12E
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB12E | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB11
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#C9A598
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bbb12e; /* rgb */ color: rgb(187, 177, 46); /* oklch */ color: oklch(74.6% 0.144 104.9);
Tailwind
colors: {
custom: {
50: '#d3c871',
500: '#bbb12e',
950: '#000000',
},
}SCSS
$custom: #bbb12e; $custom-light: #d3c871; $custom-dark: #000000;
JSON
{
"hex": "#bbb12e",
"rgb": {
"r": 187,
"g": 177,
"b": 46
},
"hsl": {
"h": 55.745,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.74638,
"c": 0.14416,
"h": 104.9
},
"luminance": 0.42206
}Semantic roles & 50–950 ramp
primary
#BBB12E
secondary
#7B81CA
accent
#4FE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B