#B2C04E#B2C04E
#B2C04E is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.139 H 115.6°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C04E |
|---|---|
| RGB | rgb(178, 192, 78) |
| HSL | hsl(67, 48%, 53%) |
| HSV | hsv(67, 59%, 75%) |
| CMYK | cmyk(7.3%, 0%, 59.4%, 24.7%) |
| CIE-LAB | lab(74.64, -20.48, 54.43) |
| CIE-LCH | lch(74.64, 58.15, 110.63°) |
| OKLab | oklab(77.44% -0.0601 0.1254) |
| OKLCH | oklch(77.44% 0.139 115.6) |
| XYZ | xyz(38.5857, 47.7148, 14.3835) |
| Luminance | 0.4771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 4.20
Pea
#A4BF20
ΔE00 4.35
Sick Green
#9DB92C
ΔE00 4.38
Booger
#9BB53C
ΔE00 4.48
Light Olive
#ACBF69
ΔE00 4.64
Snot
#ACBB0D
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C04E #5C4EC0
analogous
#C0954E #B2C04E #79C04E
triadic
#B2C04E #4EB2C0 #C04EB2
tetradic
#B2C04E #4EC095 #5C4EC0 #C04E79
square
#B2C04E #4EC095 #5C4EC0 #C04E79
split-complementary
#B2C04E #4E79C0 #954EC0
monochromatic
#646D27 #8E9A37 #B2C04E #C6D07B #D9E0A8
Accessibility & contrast
On white
1.99
#B2C04E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B2C04E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C04E
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C04E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C04E | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB741
Deuteranopia (green-blind)
#CBB955
Tritanopia (blue-blind)
#BCB6A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b2c04e; /* rgb */ color: rgb(178, 192, 78); /* oklch */ color: oklch(77.4% 0.139 115.6);
Tailwind
colors: {
custom: {
50: '#cbd284',
500: '#b2c04e',
950: '#000000',
},
}SCSS
$custom: #b2c04e; $custom-light: #cbd284; $custom-dark: #000000;
JSON
{
"hex": "#b2c04e",
"rgb": {
"r": 178,
"g": 192,
"b": 78
},
"hsl": {
"h": 67.368,
"s": 47.5,
"l": 52.941
},
"oklch": {
"l": 0.77435,
"c": 0.13904,
"h": 115.6
},
"luminance": 0.47714
}Semantic roles & 50–950 ramp
primary
#B2C04E
secondary
#A29CCE
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C