#B2C936#B2C936
#B2C936 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.167 H 118.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C936 |
|---|---|
| RGB | rgb(178, 201, 54) |
| HSL | hsl(69, 58%, 50%) |
| HSV | hsv(69, 73%, 79%) |
| CMYK | cmyk(11.4%, 0%, 73.1%, 21.2%) |
| CIE-LAB | lab(76.98, -26.37, 66.25) |
| CIE-LCH | lch(76.98, 71.31, 111.70°) |
| OKLab | oklab(79.26% -0.0788 0.1467) |
| OKLCH | oklch(79.26% 0.167 118.2) |
| XYZ | xyz(39.9135, 51.5050, 11.3281) |
| Luminance | 0.5151 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.87
Pea
#A4BF20
ΔE00 2.98
Gross Green
#A0BF16
ΔE00 3.46
Baby Puke Green
#B6C406
ΔE00 3.51
Bile
#B5C306
ΔE00 3.53
Snot Green
#9DC100
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C936 #4D36C9
analogous
#C99736 #B2C936 #68C936
triadic
#B2C936 #36B2C9 #C936B2
tetradic
#B2C936 #36C997 #4D36C9 #C93668
square
#B2C936 #36C997 #4D36C9 #C93668
split-complementary
#B2C936 #3668C9 #9736C9
monochromatic
#5D691C #879929 #B2C936 #C4D666 #D7E396
Accessibility & contrast
On white
1.86
#B2C936 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#B2C936 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C936
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C936 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C936 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE18
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#BDBEAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b2c936; /* rgb */ color: rgb(178, 201, 54); /* oklch */ color: oklch(79.3% 0.167 118.2);
Tailwind
colors: {
custom: {
50: '#cdd977',
500: '#b2c936',
950: '#000000',
},
}SCSS
$custom: #b2c936; $custom-light: #cdd977; $custom-dark: #000000;
JSON
{
"hex": "#b2c936",
"rgb": {
"r": 178,
"g": 201,
"b": 54
},
"hsl": {
"h": 69.388,
"s": 57.647,
"l": 50
},
"oklch": {
"l": 0.79257,
"c": 0.16656,
"h": 118.2
},
"luminance": 0.51505
}Semantic roles & 50–950 ramp
primary
#B2C936
secondary
#3B3173
accent
#47E15F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D