#B1C72A#B1C72A
#B1C72A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.7% C 0.171 H 117.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C72A |
|---|---|
| RGB | rgb(177, 199, 42) |
| HSL | hsl(68, 65%, 47%) |
| HSV | hsv(68, 79%, 78%) |
| CMYK | cmyk(11.1%, 0%, 78.9%, 22%) |
| CIE-LAB | lab(76.29, -26.34, 69.32) |
| CIE-LCH | lch(76.29, 74.15, 110.81°) |
| OKLab | oklab(78.66% -0.0796 0.1512) |
| OKLCH | oklch(78.66% 0.171 117.8) |
| XYZ | xyz(38.9738, 50.3615, 9.8577) |
| Luminance | 0.5036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.44
Pea
#A4BF20
ΔE00 2.56
Baby Puke Green
#B6C406
ΔE00 2.61
Bile
#B5C306
ΔE00 2.62
Gross Green
#A0BF16
ΔE00 3.06
Snot
#ACBB0D
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C72A #402AC7
analogous
#C78F2A #B1C72A #62C72A
triadic
#B1C72A #2AB1C7 #C72AB1
tetradic
#B1C72A #2AC78F #402AC7 #C72A62
square
#B1C72A #2AC78F #402AC7 #C72A62
split-complementary
#B1C72A #2A62C7 #8F2AC7
monochromatic
#576215 #84941F #B1C72A #C8DB53 #D8E586
Accessibility & contrast
On white
1.90
#B1C72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#B1C72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C72A
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C72A | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D2BD3A
Tritanopia (blue-blind)
#BCBCAA
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b1c72a; /* rgb */ color: rgb(177, 199, 42); /* oklch */ color: oklch(78.7% 0.171 117.8);
Tailwind
colors: {
custom: {
50: '#ccd772',
500: '#b1c72a',
950: '#000000',
},
}SCSS
$custom: #b1c72a; $custom-light: #ccd772; $custom-dark: #000000;
JSON
{
"hex": "#b1c72a",
"rgb": {
"r": 177,
"g": 199,
"b": 42
},
"hsl": {
"h": 68.408,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.78662,
"c": 0.17091,
"h": 117.8
},
"luminance": 0.50361
}Semantic roles & 50–950 ramp
primary
#B1C72A
secondary
#32296D
accent
#40E857
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D