#B2C333#B2C333
#B2C333 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.162 H 116.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C333 |
|---|---|
| RGB | rgb(178, 195, 51) |
| HSL | hsl(67, 59%, 48%) |
| HSV | hsv(67, 74%, 76%) |
| CMYK | cmyk(8.7%, 0%, 73.8%, 23.5%) |
| CIE-LAB | lab(75.29, -23.61, 65.64) |
| CIE-LCH | lch(75.29, 69.76, 109.78°) |
| OKLab | oklab(77.89% -0.0714 0.145) |
| OKLCH | oklch(77.89% 0.162 116.2) |
| XYZ | xyz(38.4737, 48.7348, 10.5113) |
| Luminance | 0.4873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.55
Bile
#B5C306
ΔE00 2.64
Baby Puke Green
#B6C406
ΔE00 2.72
Snot
#ACBB0D
ΔE00 2.77
Gross Green
#A0BF16
ΔE00 3.28
Green Yellow
#B5CE08
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C333 #4433C3
analogous
#C38C33 #B2C333 #6AC333
triadic
#B2C333 #33B2C3 #C333B2
tetradic
#B2C333 #33C38C #4433C3 #C3336A
square
#B2C333 #33C38C #4433C3 #C3336A
split-complementary
#B2C333 #336AC3 #8C33C3
monochromatic
#59621A #869226 #B2C333 #C7D55E #D8E28F
Accessibility & contrast
On white
1.95
#B2C333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#B2C333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C333
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C333 | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B914
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#BDB8A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b2c333; /* rgb */ color: rgb(178, 195, 51); /* oklch */ color: oklch(77.9% 0.162 116.2);
Tailwind
colors: {
custom: {
50: '#cdd575',
500: '#b2c333',
950: '#000000',
},
}SCSS
$custom: #b2c333; $custom-light: #cdd575; $custom-dark: #000000;
JSON
{
"hex": "#b2c333",
"rgb": {
"r": 178,
"g": 195,
"b": 51
},
"hsl": {
"h": 67.083,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.77887,
"c": 0.16159,
"h": 116.2
},
"luminance": 0.48734
}Semantic roles & 50–950 ramp
primary
#B2C333
secondary
#8E86CC
accent
#46E258
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B