#BBCC52#BBCC52
#BBCC52 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.147 H 116.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BBCC52 |
|---|---|
| RGB | rgb(187, 204, 82) |
| HSL | hsl(68, 54%, 56%) |
| HSV | hsv(68, 60%, 80%) |
| CMYK | cmyk(8.3%, 0%, 59.8%, 20%) |
| CIE-LAB | lab(78.67, -22.42, 57.30) |
| CIE-LCH | lch(78.67, 61.53, 111.37°) |
| OKLab | oklab(80.84% -0.0657 0.1318) |
| OKLCH | oklch(80.84% 0.147 116.5) |
| XYZ | xyz(43.6102, 54.3602, 16.1762) |
| Luminance | 0.5436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 5.01
Greenish Beige
#C9D179
ΔE00 5.14
Pea
#A4BF20
ΔE00 5.17
Baby Puke Green
#B6C406
ΔE00 5.37
Bile
#B5C306
ΔE00 5.42
Gross Green
#A0BF16
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBCC52 #6352CC
analogous
#CCA052 #BBCC52 #7ECC52
triadic
#BBCC52 #52BBCC #CC52BB
tetradic
#BBCC52 #52CCA0 #6352CC #CC527E
square
#BBCC52 #52CCA0 #6352CC #CC527E
split-complementary
#BBCC52 #527ECC #A052CC
monochromatic
#727E25 #9DAE33 #BBCC52 #CEDA81 #E0E8B1
Accessibility & contrast
On white
1.77
#BBCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#BBCC52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBCC52
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBCC52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBCC52 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D7C45A
Tritanopia (blue-blind)
#C6C1B2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #bbcc52; /* rgb */ color: rgb(187, 204, 82); /* oklch */ color: oklch(80.8% 0.147 116.5);
Tailwind
colors: {
custom: {
50: '#d2db87',
500: '#bbcc52',
950: '#000000',
},
}SCSS
$custom: #bbcc52; $custom-light: #d2db87; $custom-dark: #000000;
JSON
{
"hex": "#bbcc52",
"rgb": {
"r": 187,
"g": 204,
"b": 82
},
"hsl": {
"h": 68.361,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.8084,
"c": 0.14727,
"h": 116.5
},
"luminance": 0.5436
}Semantic roles & 50–950 ramp
primary
#BBCC52
secondary
#463C86
accent
#4ADE5F
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F