#B0C21F#B0C21F
#B0C21F is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.170 H 116.4°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B0C21F |
|---|---|
| RGB | rgb(176, 194, 31) |
| HSL | hsl(67, 72%, 44%) |
| HSV | hsv(67, 84%, 76%) |
| CMYK | cmyk(9.3%, 0%, 84%, 23.9%) |
| CIE-LAB | lab(74.77, -24.71, 70.78) |
| CIE-LCH | lch(74.77, 74.97, 109.24°) |
| OKLab | oklab(77.41% -0.0758 0.1526) |
| OKLCH | oklch(77.41% 0.17 116.4) |
| XYZ | xyz(37.4447, 47.9132, 8.5717) |
| Luminance | 0.4791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.60
Baby Puke Green
#B6C406
ΔE00 1.74
Snot
#ACBB0D
ΔE00 1.92
Pea
#A4BF20
ΔE00 2.37
Gross Green
#A0BF16
ΔE00 2.98
Green Yellow
#B5CE08
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0C21F #311FC2
analogous
#C2831F #B0C21F #5FC21F
triadic
#B0C21F #1FB0C2 #C21FB0
tetradic
#B0C21F #1FC283 #311FC2 #C21F5F
square
#B0C21F #1FC283 #311FC2 #C21F5F
split-complementary
#B0C21F #1F5FC2 #831FC2
monochromatic
#50580E #808D17 #B0C21F #CEE03E #DCE973
Accessibility & contrast
On white
1.98
#B0C21F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.58
#B0C21F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0C21F
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0C21F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0C21F | 1.00 | 1.98 | 10.58 | 10.58 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFB932
Tritanopia (blue-blind)
#BCB6A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b0c21f; /* rgb */ color: rgb(176, 194, 31); /* oklch */ color: oklch(77.4% 0.170 116.4);
Tailwind
colors: {
custom: {
50: '#ccd46d',
500: '#b0c21f',
950: '#000000',
},
}SCSS
$custom: #b0c21f; $custom-light: #ccd46d; $custom-dark: #000000;
JSON
{
"hex": "#b0c21f",
"rgb": {
"r": 176,
"g": 194,
"b": 31
},
"hsl": {
"h": 66.626,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.77407,
"c": 0.1704,
"h": 116.4
},
"luminance": 0.47913
}Semantic roles & 50–950 ramp
primary
#B0C21F
secondary
#786DCF
accent
#39EF4D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B