#B5CA40#B5CA40
#B5CA40 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.160 H 117.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CA40 |
|---|---|
| RGB | rgb(181, 202, 64) |
| HSL | hsl(69, 57%, 52%) |
| HSV | hsv(69, 68%, 79%) |
| CMYK | cmyk(10.4%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(77.54, -25.08, 63.29) |
| CIE-LCH | lch(77.54, 68.08, 111.62°) |
| OKLab | oklab(79.78% -0.0745 0.142) |
| OKLCH | oklch(79.78% 0.16 117.7) |
| XYZ | xyz(41.1029, 52.4354, 12.8052) |
| Luminance | 0.5243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.46
Pea
#A4BF20
ΔE00 3.61
Baby Puke Green
#B6C406
ΔE00 4.01
Bile
#B5C306
ΔE00 4.05
Gross Green
#A0BF16
ΔE00 4.15
Snot Green
#9DC100
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CA40 #5540CA
analogous
#CA9A40 #B5CA40 #70CA40
triadic
#B5CA40 #40B5CA #CA40B5
tetradic
#B5CA40 #40CA9A #5540CA #CA4070
square
#B5CA40 #40CA9A #5540CA #CA4070
split-complementary
#B5CA40 #4070CA #9A40CA
monochromatic
#64701F #8FA02C #B5CA40 #C8D770 #DAE5A0
Accessibility & contrast
On white
1.83
#B5CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#B5CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CA40
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CA40 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#C0BFAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5ca40; /* rgb */ color: rgb(181, 202, 64); /* oklch */ color: oklch(79.8% 0.160 117.7);
Tailwind
colors: {
custom: {
50: '#ceda7d',
500: '#b5ca40',
950: '#000000',
},
}SCSS
$custom: #b5ca40; $custom-light: #ceda7d; $custom-dark: #000000;
JSON
{
"hex": "#b5ca40",
"rgb": {
"r": 181,
"g": 202,
"b": 64
},
"hsl": {
"h": 69.13,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.79778,
"c": 0.1604,
"h": 117.7
},
"luminance": 0.52435
}Semantic roles & 50–950 ramp
primary
#B5CA40
secondary
#3F357A
accent
#48E05F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D