#B2C338#B2C338
#B2C338 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.159 H 116.3°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C338 |
|---|---|
| RGB | rgb(178, 195, 56) |
| HSL | hsl(67, 55%, 49%) |
| HSV | hsv(67, 71%, 76%) |
| CMYK | cmyk(8.7%, 0%, 71.3%, 23.5%) |
| CIE-LAB | lab(75.32, -23.36, 63.94) |
| CIE-LCH | lch(75.32, 68.08, 110.07°) |
| OKLab | oklab(77.92% -0.0703 0.1422) |
| OKLCH | oklch(77.92% 0.159 116.3) |
| XYZ | xyz(38.5900, 48.7813, 11.1234) |
| Luminance | 0.4878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.65
Bile
#B5C306
ΔE00 3.07
Snot
#ACBB0D
ΔE00 3.08
Baby Puke Green
#B6C406
ΔE00 3.15
Gross Green
#A0BF16
ΔE00 3.39
Sick Green
#9DB92C
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C338 #4938C3
analogous
#C38F38 #B2C338 #6DC338
triadic
#B2C338 #38B2C3 #C338B2
tetradic
#B2C338 #38C38F #4938C3 #C3386D
square
#B2C338 #38C38F #4938C3 #C3386D
split-complementary
#B2C338 #386DC3 #8F38C3
monochromatic
#5B641D #87932A #B2C338 #C5D365 #D7E195
Accessibility & contrast
On white
1.95
#B2C338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.76
#B2C338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C338
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C338 | 1.00 | 1.95 | 10.76 | 10.76 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#BDB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b2c338; /* rgb */ color: rgb(178, 195, 56); /* oklch */ color: oklch(77.9% 0.159 116.3);
Tailwind
colors: {
custom: {
50: '#ccd578',
500: '#b2c338',
950: '#000000',
},
}SCSS
$custom: #b2c338; $custom-light: #ccd578; $custom-dark: #000000;
JSON
{
"hex": "#b2c338",
"rgb": {
"r": 178,
"g": 195,
"b": 56
},
"hsl": {
"h": 67.338,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.77919,
"c": 0.15864,
"h": 116.3
},
"luminance": 0.48781
}Semantic roles & 50–950 ramp
primary
#B2C338
secondary
#938BCC
accent
#49DF5B
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B