#B2C837#B2C837
#B2C837 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.0% C 0.165 H 117.9°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C837 |
|---|---|
| RGB | rgb(178, 200, 55) |
| HSL | hsl(69, 57%, 50%) |
| HSV | hsv(69, 73%, 78%) |
| CMYK | cmyk(11%, 0%, 72.5%, 21.6%) |
| CIE-LAB | lab(76.71, -25.84, 65.65) |
| CIE-LCH | lch(76.71, 70.55, 111.48°) |
| OKLab | oklab(79.04% -0.0772 0.1456) |
| OKLCH | oklch(79.04% 0.165 117.9) |
| XYZ | xyz(39.7049, 51.0498, 11.3756) |
| Luminance | 0.5105 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.86
Green Yellow
#B5CE08
ΔE00 3.07
Gross Green
#A0BF16
ΔE00 3.40
Baby Puke Green
#B6C406
ΔE00 3.44
Bile
#B5C306
ΔE00 3.45
Snot Green
#9DC100
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C837 #4D37C8
analogous
#C89537 #B2C837 #6AC837
triadic
#B2C837 #37B2C8 #C837B2
tetradic
#B2C837 #37C895 #4D37C8 #C8376A
square
#B2C837 #37C895 #4D37C8 #C8376A
split-complementary
#B2C837 #376AC8 #9537C8
monochromatic
#5D681D #87982A #B2C837 #C4D567 #D7E297
Accessibility & contrast
On white
1.87
#B2C837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.21
#B2C837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C837
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C837 | 1.00 | 1.87 | 11.21 | 11.21 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD1B
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b2c837; /* rgb */ color: rgb(178, 200, 55); /* oklch */ color: oklch(79.0% 0.165 117.9);
Tailwind
colors: {
custom: {
50: '#cdd878',
500: '#b2c837',
950: '#000000',
},
}SCSS
$custom: #b2c837; $custom-light: #cdd878; $custom-dark: #000000;
JSON
{
"hex": "#b2c837",
"rgb": {
"r": 178,
"g": 200,
"b": 55
},
"hsl": {
"h": 69.103,
"s": 56.863,
"l": 50
},
"oklch": {
"l": 0.79038,
"c": 0.16485,
"h": 117.9
},
"luminance": 0.51049
}Semantic roles & 50–950 ramp
primary
#B2C837
secondary
#3B3172
accent
#48E05F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D