#B4CA2A#B4CA2A
#B4CA2A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.173 H 117.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CA2A |
|---|---|
| RGB | rgb(180, 202, 42) |
| HSL | hsl(68, 66%, 48%) |
| HSV | hsv(68, 79%, 79%) |
| CMYK | cmyk(10.9%, 0%, 79.2%, 20.8%) |
| CIE-LAB | lab(77.35, -26.54, 70.34) |
| CIE-LCH | lch(77.35, 75.18, 110.67°) |
| OKLab | oklab(79.57% -0.0803 0.1533) |
| OKLCH | oklch(79.57% 0.173 117.6) |
| XYZ | xyz(40.3619, 52.1120, 10.1224) |
| Luminance | 0.5211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.82
Baby Puke Green
#B6C406
ΔE00 2.67
Bile
#B5C306
ΔE00 2.76
Pea
#A4BF20
ΔE00 3.31
Gross Green
#A0BF16
ΔE00 3.74
Snot Green
#9DC100
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CA2A #402ACA
analogous
#CA902A #B4CA2A #64CA2A
triadic
#B4CA2A #2AB4CA #CA2AB4
tetradic
#B4CA2A #2ACA90 #402ACA #CA2A64
square
#B4CA2A #2ACA90 #402ACA #CA2A64
split-complementary
#B4CA2A #2A64CA #902ACA
monochromatic
#5A6515 #87971F #B4CA2A #C9DC55 #D9E688
Accessibility & contrast
On white
1.84
#B4CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#B4CA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CA2A
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CA2A | 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)
#D6C03A
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b4ca2a; /* rgb */ color: rgb(180, 202, 42); /* oklch */ color: oklch(79.6% 0.173 117.6);
Tailwind
colors: {
custom: {
50: '#ceda72',
500: '#b4ca2a',
950: '#000000',
},
}SCSS
$custom: #b4ca2a; $custom-light: #ceda72; $custom-dark: #000000;
JSON
{
"hex": "#b4ca2a",
"rgb": {
"r": 180,
"g": 202,
"b": 42
},
"hsl": {
"h": 68.25,
"s": 65.574,
"l": 47.843
},
"oklch": {
"l": 0.79566,
"c": 0.17308,
"h": 117.6
},
"luminance": 0.52112
}Semantic roles & 50–950 ramp
primary
#B4CA2A
secondary
#33296F
accent
#3FE957
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D