#BBC02A#BBC02A
#BBC02A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.160 H 111.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BBC02A |
|---|---|
| RGB | rgb(187, 192, 42) |
| HSL | hsl(62, 64%, 46%) |
| HSV | hsv(62, 78%, 75%) |
| CMYK | cmyk(2.6%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(75.10, -18.71, 68.53) |
| CIE-LCH | lch(75.10, 71.04, 105.27°) |
| OKLab | oklab(77.89% -0.059 0.1492) |
| OKLCH | oklch(77.89% 0.16 111.6) |
| XYZ | xyz(39.7625, 48.4323, 9.4438) |
| Luminance | 0.4843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.30
Baby Puke Green
#B6C406
ΔE00 2.38
Puke Yellow
#C2BE0E
ΔE00 2.78
Snot
#ACBB0D
ΔE00 2.89
Vomit Yellow
#C7C10C
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBC02A #2F2AC0
analogous
#C07A2A #BBC02A #70C02A
triadic
#BBC02A #2ABBC0 #C02ABB
tetradic
#BBC02A #2AC07A #2F2AC0 #C02A70
square
#BBC02A #2AC07A #2F2AC0 #C02A70
split-complementary
#BBC02A #2A70C0 #7A2AC0
monochromatic
#595C14 #8A8E1F #BBC02A #D4D84F #E0E381
Accessibility & contrast
On white
1.97
#BBC02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#BBC02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBC02A
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBC02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBC02A | 1.00 | 1.97 | 10.69 | 10.69 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#C8B4A5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bbc02a; /* rgb */ color: rgb(187, 192, 42); /* oklch */ color: oklch(77.9% 0.160 111.6);
Tailwind
colors: {
custom: {
50: '#d3d271',
500: '#bbc02a',
950: '#000000',
},
}SCSS
$custom: #bbc02a; $custom-light: #d3d271; $custom-dark: #000000;
JSON
{
"hex": "#bbc02a",
"rgb": {
"r": 187,
"g": 192,
"b": 42
},
"hsl": {
"h": 62,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77891,
"c": 0.16045,
"h": 111.6
},
"luminance": 0.48431
}Semantic roles & 50–950 ramp
primary
#BBC02A
secondary
#7C7ACC
accent
#41E746
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B