#B5C72A#B5C72A
#B5C72A is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.170 H 116.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C72A |
|---|---|
| RGB | rgb(181, 199, 42) |
| HSL | hsl(67, 65%, 47%) |
| HSV | hsv(67, 79%, 78%) |
| CMYK | cmyk(9%, 0%, 78.9%, 22%) |
| CIE-LAB | lab(76.58, -24.68, 69.69) |
| CIE-LCH | lch(76.58, 73.93, 109.50°) |
| OKLab | oklab(78.97% -0.0752 0.1519) |
| OKLCH | oklch(78.97% 0.17 116.4) |
| XYZ | xyz(39.8985, 50.8384, 9.9010) |
| Luminance | 0.5084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.97
Bile
#B5C306
ΔE00 2.02
Green Yellow
#B5CE08
ΔE00 2.41
Pea
#A4BF20
ΔE00 3.16
Snot
#ACBB0D
ΔE00 3.22
Gross Green
#A0BF16
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C72A #3C2AC7
analogous
#C78B2A #B5C72A #67C72A
triadic
#B5C72A #2AB5C7 #C72AB5
tetradic
#B5C72A #2AC78B #3C2AC7 #C72A67
square
#B5C72A #2AC78B #3C2AC7 #C72A67
split-complementary
#B5C72A #2A67C7 #8B2AC7
monochromatic
#596215 #87941F #B5C72A #CBDB53 #DBE586
Accessibility & contrast
On white
1.88
#B5C72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.17
#B5C72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C72A
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C72A | 1.00 | 1.88 | 11.17 | 11.17 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#C1BBAA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b5c72a; /* rgb */ color: rgb(181, 199, 42); /* oklch */ color: oklch(79.0% 0.170 116.4);
Tailwind
colors: {
custom: {
50: '#cfd772',
500: '#b5c72a',
950: '#000000',
},
}SCSS
$custom: #b5c72a; $custom-light: #cfd772; $custom-dark: #000000;
JSON
{
"hex": "#b5c72a",
"rgb": {
"r": 181,
"g": 199,
"b": 42
},
"hsl": {
"h": 66.879,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.78968,
"c": 0.1695,
"h": 116.4
},
"luminance": 0.50838
}Semantic roles & 50–950 ramp
primary
#B5C72A
secondary
#30296D
accent
#40E853
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D