#B2C04A#B2C04A
#B2C04A is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.142 H 115.5°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C04A |
|---|---|
| RGB | rgb(178, 192, 74) |
| HSL | hsl(67, 48%, 52%) |
| HSV | hsv(67, 61%, 75%) |
| CMYK | cmyk(7.3%, 0%, 61.5%, 24.7%) |
| CIE-LAB | lab(74.61, -20.78, 56.12) |
| CIE-LCH | lch(74.61, 59.85, 110.32°) |
| OKLab | oklab(77.4% -0.0613 0.1285) |
| OKLCH | oklch(77.4% 0.142 115.5) |
| XYZ | xyz(38.4466, 47.6592, 13.6510) |
| Luminance | 0.4766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.98
Sick Green
#9DB92C
ΔE00 4.17
Snot
#ACBB0D
ΔE00 4.47
Booger
#9BB53C
ΔE00 4.48
Light Olive Green
#A4BE5C
ΔE00 4.57
Gross Green
#A0BF16
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C04A #584AC0
analogous
#C0934A #B2C04A #77C04A
triadic
#B2C04A #4AB2C0 #C04AB2
tetradic
#B2C04A #4AC093 #584AC0 #C04A77
square
#B2C04A #4AC093 #584AC0 #C04A77
split-complementary
#B2C04A #4A77C0 #934AC0
monochromatic
#626B25 #8C9835 #B2C04A #C5D077 #D9E0A5
Accessibility & contrast
On white
1.99
#B2C04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#B2C04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C04A
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C04A | 1.00 | 1.99 | 10.53 | 10.53 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b2c04a; /* rgb */ color: rgb(178, 192, 74); /* oklch */ color: oklch(77.4% 0.142 115.5);
Tailwind
colors: {
custom: {
50: '#ccd282',
500: '#b2c04a',
950: '#000000',
},
}SCSS
$custom: #b2c04a; $custom-light: #ccd282; $custom-dark: #000000;
JSON
{
"hex": "#b2c04a",
"rgb": {
"r": 178,
"g": 192,
"b": 74
},
"hsl": {
"h": 67.119,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.77395,
"c": 0.14235,
"h": 115.5
},
"luminance": 0.47659
}Semantic roles & 50–950 ramp
primary
#B2C04A
secondary
#9F99CD
accent
#50D860
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C