#B2C52F#B2C52F
#B2C52F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.166 H 116.8°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C52F |
|---|---|
| RGB | rgb(178, 197, 47) |
| HSL | hsl(68, 61%, 48%) |
| HSV | hsv(68, 76%, 77%) |
| CMYK | cmyk(9.6%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(75.83, -24.76, 67.44) |
| CIE-LCH | lch(75.83, 71.84, 110.16°) |
| OKLab | oklab(78.31% -0.0749 0.1481) |
| OKLCH | oklch(78.31% 0.166 116.8) |
| XYZ | xyz(38.8404, 49.6032, 10.2171) |
| Luminance | 0.4960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.48
Baby Puke Green
#B6C406
ΔE00 2.51
Pea
#A4BF20
ΔE00 2.53
Snot
#ACBB0D
ΔE00 3.00
Green Yellow
#B5CE08
ΔE00 3.06
Gross Green
#A0BF16
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C52F #422FC5
analogous
#C58D2F #B2C52F #67C52F
triadic
#B2C52F #2FB2C5 #C52FB2
tetradic
#B2C52F #2FC58D #422FC5 #C52F67
square
#B2C52F #2FC58D #422FC5 #C52F67
split-complementary
#B2C52F #2F67C5 #8D2FC5
monochromatic
#596217 #859423 #B2C52F #C8D85A #D8E38B
Accessibility & contrast
On white
1.92
#B2C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.92
#B2C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C52F
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C52F | 1.00 | 1.92 | 10.92 | 10.92 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BA04
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#BDBAA9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #b2c52f; /* rgb */ color: rgb(178, 197, 47); /* oklch */ color: oklch(78.3% 0.166 116.8);
Tailwind
colors: {
custom: {
50: '#cdd674',
500: '#b2c52f',
950: '#000000',
},
}SCSS
$custom: #b2c52f; $custom-light: #cdd674; $custom-dark: #000000;
JSON
{
"hex": "#b2c52f",
"rgb": {
"r": 178,
"g": 197,
"b": 47
},
"hsl": {
"h": 67.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78313,
"c": 0.16595,
"h": 116.8
},
"luminance": 0.49603
}Semantic roles & 50–950 ramp
primary
#B2C52F
secondary
#8C82CD
accent
#43E558
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B