#B2CC2D#B2CC2D
#B2CC2D is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.175 H 119.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CC2D |
|---|---|
| RGB | rgb(178, 204, 45) |
| HSL | hsl(70, 64%, 49%) |
| HSV | hsv(70, 78%, 80%) |
| CMYK | cmyk(12.7%, 0%, 77.9%, 20%) |
| CIE-LAB | lab(77.78, -28.20, 69.83) |
| CIE-LCH | lch(77.78, 75.31, 111.99°) |
| OKLab | oklab(79.88% -0.0846 0.1528) |
| OKLCH | oklch(79.88% 0.175 119) |
| XYZ | xyz(40.4275, 52.8405, 10.5516) |
| Luminance | 0.5284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.98
Pea
#A4BF20
ΔE00 3.44
Baby Puke Green
#B6C406
ΔE00 3.54
Bile
#B5C306
ΔE00 3.63
Gross Green
#A0BF16
ΔE00 3.75
Snot Green
#9DC100
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CC2D #472DCC
analogous
#CC972D #B2CC2D #63CC2D
triadic
#B2CC2D #2DB2CC #CC2DB2
tetradic
#B2CC2D #2DCC97 #472DCC #CC2D63
square
#B2CC2D #2DCC97 #472DCC #CC2D63
split-complementary
#B2CC2D #2D63CC #972DCC
monochromatic
#5B6817 #869A22 #B2CC2D #C6DB5B #D7E68D
Accessibility & contrast
On white
1.82
#B2CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#B2CC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CC2D
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CC2D | 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)
#D7C13D
Tritanopia (blue-blind)
#BDC1AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b2cc2d; /* rgb */ color: rgb(178, 204, 45); /* oklch */ color: oklch(79.9% 0.175 119.0);
Tailwind
colors: {
custom: {
50: '#cddb74',
500: '#b2cc2d',
950: '#000000',
},
}SCSS
$custom: #b2cc2d; $custom-light: #cddb74; $custom-dark: #000000;
JSON
{
"hex": "#b2cc2d",
"rgb": {
"r": 178,
"g": 204,
"b": 45
},
"hsl": {
"h": 69.811,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.79884,
"c": 0.17463,
"h": 119
},
"luminance": 0.5284
}Semantic roles & 50–950 ramp
primary
#B2CC2D
secondary
#372B72
accent
#41E75C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D