#B4CA40#B4CA40
#B4CA40 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.161 H 118.1°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CA40 |
|---|---|
| RGB | rgb(180, 202, 64) |
| HSL | hsl(70, 57%, 52%) |
| HSV | hsv(70, 68%, 79%) |
| CMYK | cmyk(10.9%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(77.47, -25.49, 63.19) |
| CIE-LCH | lch(77.47, 68.14, 111.97°) |
| OKLab | oklab(79.7% -0.0756 0.1419) |
| OKLCH | oklch(79.7% 0.161 118.1) |
| XYZ | xyz(40.8692, 52.3149, 12.7943) |
| Luminance | 0.5232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.52
Pea
#A4BF20
ΔE00 3.54
Gross Green
#A0BF16
ΔE00 4.05
Baby Puke Green
#B6C406
ΔE00 4.14
Bile
#B5C306
ΔE00 4.17
Snot Green
#9DC100
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CA40 #5640CA
analogous
#CA9B40 #B4CA40 #6FCA40
triadic
#B4CA40 #40B4CA #CA40B4
tetradic
#B4CA40 #40CA9B #5640CA #CA406F
square
#B4CA40 #40CA9B #5640CA #CA406F
split-complementary
#B4CA40 #406FCA #9B40CA
monochromatic
#63701F #8EA02C #B4CA40 #C7D770 #DAE5A0
Accessibility & contrast
On white
1.83
#B4CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#B4CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CA40
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CA40 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#BFBFAF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b4ca40; /* rgb */ color: rgb(180, 202, 64); /* oklch */ color: oklch(79.7% 0.161 118.1);
Tailwind
colors: {
custom: {
50: '#ceda7d',
500: '#b4ca40',
950: '#000000',
},
}SCSS
$custom: #b4ca40; $custom-light: #ceda7d; $custom-dark: #000000;
JSON
{
"hex": "#b4ca40",
"rgb": {
"r": 180,
"g": 202,
"b": 64
},
"hsl": {
"h": 69.565,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.79702,
"c": 0.16075,
"h": 118.1
},
"luminance": 0.52315
}Semantic roles & 50–950 ramp
primary
#B4CA40
secondary
#40357A
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D