#B9CA40#B9CA40
#B9CA40 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.159 H 116.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CA40 |
|---|---|
| RGB | rgb(185, 202, 64) |
| HSL | hsl(67, 57%, 52%) |
| HSV | hsv(67, 68%, 79%) |
| CMYK | cmyk(8.4%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(77.83, -23.44, 63.68) |
| CIE-LCH | lch(77.83, 67.85, 110.21°) |
| OKLab | oklab(80.08% -0.0702 0.1427) |
| OKLCH | oklch(80.08% 0.159 116.2) |
| XYZ | xyz(42.0545, 52.9261, 12.8498) |
| Luminance | 0.5293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.40
Baby Puke Green
#B6C406
ΔE00 3.57
Bile
#B5C306
ΔE00 3.63
Pea
#A4BF20
ΔE00 4.02
Snot
#ACBB0D
ΔE00 4.57
Gross Green
#A0BF16
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CA40 #5140CA
analogous
#CA9640 #B9CA40 #74CA40
triadic
#B9CA40 #40B9CA #CA40B9
tetradic
#B9CA40 #40CA96 #5140CA #CA4074
square
#B9CA40 #40CA96 #5140CA #CA4074
split-complementary
#B9CA40 #4074CA #9640CA
monochromatic
#66701F #92A02C #B9CA40 #CBD770 #DCE5A0
Accessibility & contrast
On white
1.81
#B9CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#B9CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CA40
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CA40 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C4BFAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b9ca40; /* rgb */ color: rgb(185, 202, 64); /* oklch */ color: oklch(80.1% 0.159 116.2);
Tailwind
colors: {
custom: {
50: '#d1da7d',
500: '#b9ca40',
950: '#000000',
},
}SCSS
$custom: #b9ca40; $custom-light: #d1da7d; $custom-dark: #000000;
JSON
{
"hex": "#b9ca40",
"rgb": {
"r": 185,
"g": 202,
"b": 64
},
"hsl": {
"h": 67.391,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.80084,
"c": 0.15907,
"h": 116.2
},
"luminance": 0.52926
}Semantic roles & 50–950 ramp
primary
#B9CA40
secondary
#3D357A
accent
#48E05B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D