#BBB42E#BBB42E
#BBB42E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.147 H 106.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB42E |
|---|---|
| RGB | rgb(187, 180, 46) |
| HSL | hsl(57, 61%, 46%) |
| HSV | hsv(57, 75%, 73%) |
| CMYK | cmyk(0%, 3.7%, 75.4%, 26.7%) |
| CIE-LAB | lab(71.83, -12.48, 64.32) |
| CIE-LCH | lch(71.83, 65.52, 100.98°) |
| OKLab | oklab(75.29% -0.0414 0.1409) |
| OKLCH | oklch(75.29% 0.147 106.4) |
| XYZ | xyz(37.3095, 43.4059, 8.9971) |
| Luminance | 0.4340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.73
Puke Yellow
#C2BE0E
ΔE00 3.52
Muddy Yellow
#BFAC05
ΔE00 4.09
Vomit Yellow
#C7C10C
ΔE00 4.32
Mustard Green
#A8B504
ΔE00 4.91
Puke
#A5A502
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB42E #2E35BB
analogous
#BB6D2E #BBB42E #7BBB2E
triadic
#BBB42E #2EBBB4 #B42EBB
tetradic
#BBB42E #2EBB6D #2E35BB #BB2E7B
square
#BBB42E #2EBB6D #2E35BB #BB2E7B
split-complementary
#BBB42E #2E7BBB #6D2EBB
monochromatic
#595516 #8A8522 #BBB42E #D4CE52 #E0DC83
Accessibility & contrast
On white
2.17
#BBB42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#BBB42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB42E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB42E | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#C9A89B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bbb42e; /* rgb */ color: rgb(187, 180, 46); /* oklch */ color: oklch(75.3% 0.147 106.4);
Tailwind
colors: {
custom: {
50: '#d3ca71',
500: '#bbb42e',
950: '#000000',
},
}SCSS
$custom: #bbb42e; $custom-light: #d3ca71; $custom-dark: #000000;
JSON
{
"hex": "#bbb42e",
"rgb": {
"r": 187,
"g": 180,
"b": 46
},
"hsl": {
"h": 57.021,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.75288,
"c": 0.14688,
"h": 106.4
},
"luminance": 0.43405
}Semantic roles & 50–950 ramp
primary
#BBB42E
secondary
#7B7FCA
accent
#4CE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B