#B7CA15#B7CA15
#B7CA15 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.7% C 0.179 H 116.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA15 |
|---|---|
| RGB | rgb(183, 202, 21) |
| HSL | hsl(66, 81%, 44%) |
| HSV | hsv(66, 90%, 79%) |
| CMYK | cmyk(9.4%, 0%, 89.6%, 20.8%) |
| CIE-LAB | lab(77.50, -25.88, 75.17) |
| CIE-LCH | lch(77.50, 79.50, 109.00°) |
| OKLab | oklab(79.72% -0.0798 0.1604) |
| OKLCH | oklch(79.72% 0.179 116.5) |
| XYZ | xyz(40.7855, 52.3631, 8.6679) |
| Luminance | 0.5236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.35
Baby Puke Green
#B6C406
ΔE00 1.71
Bile
#B5C306
ΔE00 1.90
Snot
#ACBB0D
ΔE00 3.84
Pea
#A4BF20
ΔE00 4.07
Gross Green
#A0BF16
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA15 #2815CA
analogous
#CA8215 #B7CA15 #5CCA15
triadic
#B7CA15 #15B7CA #CA15B7
tetradic
#B7CA15 #15CA82 #2815CA #CA155C
square
#B7CA15 #15CA82 #2815CA #CA155C
split-complementary
#B7CA15 #155CCA #8215CA
monochromatic
#535B09 #85930F #B7CA15 #D6EA32 #E1EF6A
Accessibility & contrast
On white
1.83
#B7CA15 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#B7CA15 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA15
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA15 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C02E
Tritanopia (blue-blind)
#C3BEAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b7ca15; /* rgb */ color: rgb(183, 202, 21); /* oklch */ color: oklch(79.7% 0.179 116.5);
Tailwind
colors: {
custom: {
50: '#d1da6b',
500: '#b7ca15',
950: '#000000',
},
}SCSS
$custom: #b7ca15; $custom-light: #d1da6b; $custom-dark: #000000;
JSON
{
"hex": "#b7ca15",
"rgb": {
"r": 183,
"g": 202,
"b": 21
},
"hsl": {
"h": 66.298,
"s": 81.166,
"l": 43.725
},
"oklch": {
"l": 0.7972,
"c": 0.1792,
"h": 116.5
},
"luminance": 0.52362
}Semantic roles & 50–950 ramp
primary
#B7CA15
secondary
#241C67
accent
#30F845
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D