#B7C916#B7C916
#B7C916 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.178 H 116.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C916 |
|---|---|
| RGB | rgb(183, 201, 22) |
| HSL | hsl(66, 80%, 44%) |
| HSV | hsv(66, 89%, 79%) |
| CMYK | cmyk(9%, 0%, 89.1%, 21.2%) |
| CIE-LAB | lab(77.22, -25.37, 74.78) |
| CIE-LCH | lch(77.22, 78.97, 108.74°) |
| OKLab | oklab(79.5% -0.0784 0.1597) |
| OKLCH | oklch(79.5% 0.178 116.1) |
| XYZ | xyz(40.5611, 51.8991, 8.6397) |
| Luminance | 0.5190 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.44
Green Yellow
#B5CE08
ΔE00 1.63
Bile
#B5C306
ΔE00 1.63
Snot
#ACBB0D
ΔE00 3.60
Pea
#A4BF20
ΔE00 3.98
Gross Green
#A0BF16
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C916 #2816C9
analogous
#C98116 #B7C916 #5DC916
triadic
#B7C916 #16B7C9 #C916B7
tetradic
#B7C916 #16C981 #2816C9 #C9165D
square
#B7C916 #16C981 #2816C9 #C9165D
split-complementary
#B7C916 #165DC9 #8116C9
monochromatic
#535B0A #859210 #B7C916 #D6E933 #E1EF6B
Accessibility & contrast
On white
1.85
#B7C916 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#B7C916 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C916
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C916 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C916 | 1.00 | 1.85 | 11.38 | 11.38 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C02E
Tritanopia (blue-blind)
#C3BDAB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b7c916; /* rgb */ color: rgb(183, 201, 22); /* oklch */ color: oklch(79.5% 0.178 116.1);
Tailwind
colors: {
custom: {
50: '#d1d96c',
500: '#b7c916',
950: '#000000',
},
}SCSS
$custom: #b7c916; $custom-light: #d1d96c; $custom-dark: #000000;
JSON
{
"hex": "#b7c916",
"rgb": {
"r": 183,
"g": 201,
"b": 22
},
"hsl": {
"h": 66.034,
"s": 80.269,
"l": 43.725
},
"oklch": {
"l": 0.79498,
"c": 0.17793,
"h": 116.1
},
"luminance": 0.51898
}Semantic roles & 50–950 ramp
primary
#B7C916
secondary
#241D66
accent
#31F745
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D