#BBC52A#BBC52A
#BBC52A is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.166 H 113.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BBC52A |
|---|---|
| RGB | rgb(187, 197, 42) |
| HSL | hsl(64, 65%, 47%) |
| HSV | hsv(64, 79%, 77%) |
| CMYK | cmyk(5.1%, 0%, 78.7%, 22.7%) |
| CIE-LAB | lab(76.48, -21.18, 69.76) |
| CIE-LCH | lch(76.48, 72.91, 106.89°) |
| OKLab | oklab(79% -0.0659 0.1518) |
| OKLCH | oklch(79% 0.166 113.5) |
| XYZ | xyz(40.8790, 50.6654, 9.8160) |
| Luminance | 0.5066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.55
Bile
#B5C306
ΔE00 1.61
Snot
#ACBB0D
ΔE00 3.11
Green Yellow
#B5CE08
ΔE00 3.50
Puke Yellow
#C2BE0E
ΔE00 3.85
Vomit Yellow
#C7C10C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBC52A #342AC5
analogous
#C5822A #BBC52A #6EC52A
triadic
#BBC52A #2ABBC5 #C52ABB
tetradic
#BBC52A #2AC582 #342AC5 #C52A6E
square
#BBC52A #2AC582 #342AC5 #C52A6E
split-complementary
#BBC52A #2A6EC5 #822AC5
monochromatic
#5B6014 #8B931F #BBC52A #D1DA52 #DFE585
Accessibility & contrast
On white
1.89
#BBC52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.13
#BBC52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBC52A
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBC52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBC52A | 1.00 | 1.89 | 11.13 | 11.13 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#C8B9A9
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bbc52a; /* rgb */ color: rgb(187, 197, 42); /* oklch */ color: oklch(79.0% 0.166 113.5);
Tailwind
colors: {
custom: {
50: '#d3d672',
500: '#bbc52a',
950: '#000000',
},
}SCSS
$custom: #bbc52a; $custom-light: #d3d672; $custom-dark: #000000;
JSON
{
"hex": "#bbc52a",
"rgb": {
"r": 187,
"g": 197,
"b": 42
},
"hsl": {
"h": 63.871,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.78996,
"c": 0.16551,
"h": 113.5
},
"luminance": 0.50664
}Semantic roles & 50–950 ramp
primary
#BBC52A
secondary
#2C286B
accent
#40E84B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D