#B4C846#B4C846
#B4C846 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.154 H 117.5°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C846 |
|---|---|
| RGB | rgb(180, 200, 70) |
| HSL | hsl(69, 54%, 53%) |
| HSV | hsv(69, 65%, 78%) |
| CMYK | cmyk(10%, 0%, 65%, 21.6%) |
| CIE-LAB | lab(76.95, -24.16, 60.32) |
| CIE-LCH | lch(76.95, 64.98, 111.82°) |
| OKLab | oklab(79.3% -0.0713 0.1367) |
| OKLCH | oklch(79.3% 0.154 117.5) |
| XYZ | xyz(40.5830, 51.4545, 13.5870) |
| Luminance | 0.5145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.65
Gross Green
#A0BF16
ΔE00 4.24
Green Yellow
#B5CE08
ΔE00 4.31
Bile
#B5C306
ΔE00 4.50
Baby Puke Green
#B6C406
ΔE00 4.50
Sick Green
#9DB92C
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C846 #5A46C8
analogous
#C89B46 #B4C846 #73C846
triadic
#B4C846 #46B4C8 #C846B4
tetradic
#B4C846 #46C89B #5A46C8 #C84673
square
#B4C846 #46C89B #5A46C8 #C84673
split-complementary
#B4C846 #4673C8 #9B46C8
monochromatic
#657222 #90A130 #B4C846 #C7D675 #DAE4A4
Accessibility & contrast
On white
1.86
#B4C846 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#B4C846 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C846
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C846 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C846 | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE34
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b4c846; /* rgb */ color: rgb(180, 200, 70); /* oklch */ color: oklch(79.3% 0.154 117.5);
Tailwind
colors: {
custom: {
50: '#cdd880',
500: '#b4c846',
950: '#000000',
},
}SCSS
$custom: #b4c846; $custom-light: #cdd880; $custom-dark: #000000;
JSON
{
"hex": "#b4c846",
"rgb": {
"r": 180,
"g": 200,
"b": 70
},
"hsl": {
"h": 69.231,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.79302,
"c": 0.1542,
"h": 117.5
},
"luminance": 0.51454
}Semantic roles & 50–950 ramp
primary
#B4C846
secondary
#42377B
accent
#4ADE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E