#B2CC2C#B2CC2C
#B2CC2C is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.175 H 118.9°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CC2C |
|---|---|
| RGB | rgb(178, 204, 44) |
| HSL | hsl(70, 65%, 49%) |
| HSV | hsv(70, 78%, 80%) |
| CMYK | cmyk(12.7%, 0%, 78.4%, 20%) |
| CIE-LAB | lab(77.78, -28.24, 70.11) |
| CIE-LCH | lch(77.78, 75.58, 111.94°) |
| OKLab | oklab(79.88% -0.0848 0.1532) |
| OKLCH | oklch(79.88% 0.175 118.9) |
| XYZ | xyz(40.4085, 52.8329, 10.4514) |
| Luminance | 0.5283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.91
Pea
#A4BF20
ΔE00 3.45
Baby Puke Green
#B6C406
ΔE00 3.50
Bile
#B5C306
ΔE00 3.58
Gross Green
#A0BF16
ΔE00 3.75
Snot Green
#9DC100
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CC2C #462CCC
analogous
#CC962C #B2CC2C #62CC2C
triadic
#B2CC2C #2CB2CC #CC2CB2
tetradic
#B2CC2C #2CCC96 #462CCC #CC2C62
square
#B2CC2C #2CCC96 #462CCC #CC2C62
split-complementary
#B2CC2C #2C62CC #962CCC
monochromatic
#5A6716 #869A21 #B2CC2C #C6DB5A #D8E68C
Accessibility & contrast
On white
1.82
#B2CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#B2CC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CC2C
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CC2C | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#BDC1AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cc2c; /* rgb */ color: rgb(178, 204, 44); /* oklch */ color: oklch(79.9% 0.175 118.9);
Tailwind
colors: {
custom: {
50: '#cddb73',
500: '#b2cc2c',
950: '#000000',
},
}SCSS
$custom: #b2cc2c; $custom-light: #cddb73; $custom-dark: #000000;
JSON
{
"hex": "#b2cc2c",
"rgb": {
"r": 178,
"g": 204,
"b": 44
},
"hsl": {
"h": 69.75,
"s": 64.516,
"l": 48.627
},
"oklch": {
"l": 0.79879,
"c": 0.17511,
"h": 118.9
},
"luminance": 0.52833
}Semantic roles & 50–950 ramp
primary
#B2CC2C
secondary
#362B71
accent
#40E85B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D