#B7CA40#B7CA40
#B7CA40 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 79.9% C 0.160 H 116.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA40 |
|---|---|
| RGB | rgb(183, 202, 64) |
| HSL | hsl(68, 57%, 52%) |
| HSV | hsv(68, 68%, 79%) |
| CMYK | cmyk(9.4%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(77.69, -24.27, 63.48) |
| CIE-LCH | lch(77.69, 67.96, 110.92°) |
| OKLab | oklab(79.93% -0.0724 0.1424) |
| OKLCH | oklch(79.93% 0.16 116.9) |
| XYZ | xyz(41.5753, 52.6790, 12.8274) |
| Luminance | 0.5268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.40
Baby Puke Green
#B6C406
ΔE00 3.77
Pea
#A4BF20
ΔE00 3.79
Bile
#B5C306
ΔE00 3.82
Gross Green
#A0BF16
ΔE00 4.37
Snot
#ACBB0D
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA40 #5340CA
analogous
#CA9840 #B7CA40 #72CA40
triadic
#B7CA40 #40B7CA #CA40B7
tetradic
#B7CA40 #40CA98 #5340CA #CA4072
square
#B7CA40 #40CA98 #5340CA #CA4072
split-complementary
#B7CA40 #4072CA #9840CA
monochromatic
#65701F #90A02C #B7CA40 #C9D770 #DBE5A0
Accessibility & contrast
On white
1.82
#B7CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#B7CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA40
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA40 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF2B
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#C2BFAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b7ca40; /* rgb */ color: rgb(183, 202, 64); /* oklch */ color: oklch(79.9% 0.160 116.9);
Tailwind
colors: {
custom: {
50: '#d0da7d',
500: '#b7ca40',
950: '#000000',
},
}SCSS
$custom: #b7ca40; $custom-light: #d0da7d; $custom-dark: #000000;
JSON
{
"hex": "#b7ca40",
"rgb": {
"r": 183,
"g": 202,
"b": 64
},
"hsl": {
"h": 68.261,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.7993,
"c": 0.15972,
"h": 116.9
},
"luminance": 0.52679
}Semantic roles & 50–950 ramp
primary
#B7CA40
secondary
#3E357A
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D