#B7CA27#B7CA27
#B7CA27 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.173 H 116.6°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA27 |
|---|---|
| RGB | rgb(183, 202, 39) |
| HSL | hsl(67, 68%, 47%) |
| HSV | hsv(67, 81%, 79%) |
| CMYK | cmyk(9.4%, 0%, 80.7%, 20.8%) |
| CIE-LAB | lab(77.55, -25.40, 71.41) |
| CIE-LCH | lch(77.55, 75.80, 109.58°) |
| OKLab | oklab(79.78% -0.0775 0.155) |
| OKLCH | oklch(79.78% 0.173 116.6) |
| XYZ | xyz(41.0163, 52.4554, 9.8833) |
| Luminance | 0.5245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.72
Baby Puke Green
#B6C406
ΔE00 2.14
Bile
#B5C306
ΔE00 2.28
Pea
#A4BF20
ΔE00 3.74
Snot
#ACBB0D
ΔE00 3.87
Gross Green
#A0BF16
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA27 #3A27CA
analogous
#CA8C27 #B7CA27 #65CA27
triadic
#B7CA27 #27B7CA #CA27B7
tetradic
#B7CA27 #27CA8C #3A27CA #CA2765
square
#B7CA27 #27CA8C #3A27CA #CA2765
split-complementary
#B7CA27 #2765CA #8C27CA
monochromatic
#5A6313 #89971D #B7CA27 #CDDD51 #DCE784
Accessibility & contrast
On white
1.83
#B7CA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#B7CA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA27
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA27 | 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)
#D8BF00
Deuteranopia (green-blind)
#D7C138
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b7ca27; /* rgb */ color: rgb(183, 202, 39); /* oklch */ color: oklch(79.8% 0.173 116.6);
Tailwind
colors: {
custom: {
50: '#d1da71',
500: '#b7ca27',
950: '#000000',
},
}SCSS
$custom: #b7ca27; $custom-light: #d1da71; $custom-dark: #000000;
JSON
{
"hex": "#b7ca27",
"rgb": {
"r": 183,
"g": 202,
"b": 39
},
"hsl": {
"h": 66.994,
"s": 67.635,
"l": 47.255
},
"oklch": {
"l": 0.79781,
"c": 0.17332,
"h": 116.6
},
"luminance": 0.52455
}Semantic roles & 50–950 ramp
primary
#B7CA27
secondary
#30276E
accent
#3DEB51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D