#B2C252#B2C252
#B2C252 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.138 H 116.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C252 |
|---|---|
| RGB | rgb(178, 194, 82) |
| HSL | hsl(69, 48%, 54%) |
| HSV | hsv(69, 58%, 76%) |
| CMYK | cmyk(8.2%, 0%, 57.7%, 23.9%) |
| CIE-LAB | lab(75.24, -21.17, 53.31) |
| CIE-LCH | lch(75.24, 57.36, 111.66°) |
| OKLab | oklab(77.92% -0.0616 0.1235) |
| OKLCH | oklch(77.92% 0.138 116.5) |
| XYZ | xyz(39.1756, 48.6582, 15.3092) |
| Luminance | 0.4866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.76
Light Olive
#ACBF69
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.59
Sick Green
#9DB92C
ΔE00 4.61
Booger
#9BB53C
ΔE00 4.65
Gross Green
#A0BF16
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C252 #6252C2
analogous
#C29A52 #B2C252 #7AC252
triadic
#B2C252 #52B2C2 #C252B2
tetradic
#B2C252 #52C29A #6252C2 #C2527A
square
#B2C252 #52C29A #6252C2 #C2527A
split-complementary
#B2C252 #527AC2 #9A52C2
monochromatic
#677228 #909F38 #B2C252 #C6D27F #DAE2AC
Accessibility & contrast
On white
1.96
#B2C252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#B2C252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C252
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C252 | 1.00 | 1.96 | 10.73 | 10.73 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#CDBA59
Tritanopia (blue-blind)
#BCB8AA
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b2c252; /* rgb */ color: rgb(178, 194, 82); /* oklch */ color: oklch(77.9% 0.138 116.5);
Tailwind
colors: {
custom: {
50: '#cbd487',
500: '#b2c252',
950: '#000000',
},
}SCSS
$custom: #b2c252; $custom-light: #cbd487; $custom-dark: #000000;
JSON
{
"hex": "#b2c252",
"rgb": {
"r": 178,
"g": 194,
"b": 82
},
"hsl": {
"h": 68.571,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.77922,
"c": 0.138,
"h": 116.5
},
"luminance": 0.48658
}Semantic roles & 50–950 ramp
primary
#B2C252
secondary
#A7A0D0
accent
#50D764
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C