#9CB020#9CB020
#9CB020 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.7% C 0.158 H 117.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB020 |
|---|---|
| RGB | rgb(156, 176, 32) |
| HSL | hsl(68, 69%, 41%) |
| HSV | hsv(68, 82%, 69%) |
| CMYK | cmyk(11.4%, 0%, 81.8%, 31%) |
| CIE-LAB | lab(68.18, -24.35, 64.31) |
| CIE-LCH | lch(68.18, 68.76, 110.74°) |
| OKLab | oklab(71.74% -0.0738 0.1396) |
| OKLCH | oklch(71.74% 0.158 117.9) |
| XYZ | xyz(29.4971, 38.2232, 7.1901) |
| Luminance | 0.3822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.21
Barf Green
#94AC02
ΔE00 1.78
Sickly Green
#94B21C
ΔE00 2.02
Booger Green
#96B403
ΔE00 2.18
Pea Green
#8EAB12
ΔE00 2.68
Icky Green
#8FAE22
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB020 #3420B0
analogous
#B07C20 #9CB020 #54B020
triadic
#9CB020 #209CB0 #B0209C
tetradic
#9CB020 #20B07C #3420B0 #B02054
square
#9CB020 #20B07C #3420B0 #B02054
split-complementary
#9CB020 #2054B0 #7C20B0
monochromatic
#40480D #6E7C17 #9CB020 #C3DA33 #D2E367
Accessibility & contrast
On white
2.43
#9CB020 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#9CB020 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB020
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB020 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB020 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BAA72F
Tritanopia (blue-blind)
#A6A696
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9cb020; /* rgb */ color: rgb(156, 176, 32); /* oklch */ color: oklch(71.7% 0.158 117.9);
Tailwind
colors: {
custom: {
50: '#bdc76a',
500: '#9cb020',
950: '#000000',
},
}SCSS
$custom: #9cb020; $custom-light: #bdc76a; $custom-dark: #000000;
JSON
{
"hex": "#9cb020",
"rgb": {
"r": 156,
"g": 176,
"b": 32
},
"hsl": {
"h": 68.333,
"s": 69.231,
"l": 40.784
},
"oklch": {
"l": 0.71743,
"c": 0.15788,
"h": 117.9
},
"luminance": 0.38223
}Semantic roles & 50–950 ramp
primary
#9CB020
secondary
#7163C9
accent
#3CEC54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A