#B4CA28#B4CA28
#B4CA28 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.174 H 117.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CA28 |
|---|---|
| RGB | rgb(180, 202, 40) |
| HSL | hsl(68, 67%, 47%) |
| HSV | hsv(68, 80%, 79%) |
| CMYK | cmyk(10.9%, 0%, 80.2%, 20.8%) |
| CIE-LAB | lab(77.34, -26.61, 70.88) |
| CIE-LCH | lch(77.34, 75.71, 110.58°) |
| OKLab | oklab(79.56% -0.0807 0.1541) |
| OKLCH | oklch(79.56% 0.174 117.6) |
| XYZ | xyz(40.3270, 52.0980, 9.9386) |
| Luminance | 0.5210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.71
Baby Puke Green
#B6C406
ΔE00 2.59
Bile
#B5C306
ΔE00 2.68
Pea
#A4BF20
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.75
Snot Green
#9DC100
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CA28 #3E28CA
analogous
#CA8F28 #B4CA28 #63CA28
triadic
#B4CA28 #28B4CA #CA28B4
tetradic
#B4CA28 #28CA8F #3E28CA #CA2863
square
#B4CA28 #28CA8F #3E28CA #CA2863
split-complementary
#B4CA28 #2863CA #8F28CA
monochromatic
#596414 #86971E #B4CA28 #CADD52 #DAE785
Accessibility & contrast
On white
1.84
#B4CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#B4CA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CA28
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CA28 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D6C039
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b4ca28; /* rgb */ color: rgb(180, 202, 40); /* oklch */ color: oklch(79.6% 0.174 117.6);
Tailwind
colors: {
custom: {
50: '#ceda71',
500: '#b4ca28',
950: '#000000',
},
}SCSS
$custom: #b4ca28; $custom-light: #ceda71; $custom-dark: #000000;
JSON
{
"hex": "#b4ca28",
"rgb": {
"r": 180,
"g": 202,
"b": 40
},
"hsl": {
"h": 68.148,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.79557,
"c": 0.17396,
"h": 117.6
},
"luminance": 0.52098
}Semantic roles & 50–950 ramp
primary
#B4CA28
secondary
#31286E
accent
#3EEA55
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D