#9BA01C#9BA01C
#9BA01C is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.143 H 112.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA01C |
|---|---|
| RGB | rgb(155, 160, 28) |
| HSL | hsl(62, 70%, 37%) |
| HSV | hsv(62, 83%, 63%) |
| CMYK | cmyk(3.1%, 0%, 82.5%, 37.3%) |
| CIE-LAB | lab(63.50, -16.87, 61.28) |
| CIE-LCH | lch(63.50, 63.56, 105.40°) |
| OKLab | oklab(67.96% -0.0534 0.1324) |
| OKLCH | oklch(67.96% 0.143 112) |
| XYZ | xyz(26.2989, 32.1947, 5.9272) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.84
Pea Soup
#929901
ΔE00 2.50
Puke
#A5A502
ΔE00 2.88
Baby Poop Green
#8F9805
ΔE00 2.99
Pea Soup Green
#94A617
ΔE00 3.22
Baby Shit Green
#889717
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA01C #211CA0
analogous
#A0631C #9BA01C #59A01C
triadic
#9BA01C #1C9BA0 #A01C9B
tetradic
#9BA01C #1CA063 #211CA0 #A01C59
square
#9BA01C #1CA063 #211CA0 #A01C59
split-complementary
#9BA01C #1C59A0 #631CA0
monochromatic
#36380A #696C13 #9BA01C #CDD425 #DCE155
Accessibility & contrast
On white
2.82
#9BA01C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#9BA01C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA01C
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA01C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA01C | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ba01c; /* rgb */ color: rgb(155, 160, 28); /* oklch */ color: oklch(68.0% 0.143 112.0);
Tailwind
colors: {
custom: {
50: '#bcbb66',
500: '#9ba01c',
950: '#000000',
},
}SCSS
$custom: #9ba01c; $custom-light: #bcbb66; $custom-dark: #000000;
JSON
{
"hex": "#9ba01c",
"rgb": {
"r": 155,
"g": 160,
"b": 28
},
"hsl": {
"h": 62.273,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.6796,
"c": 0.14279,
"h": 112
},
"luminance": 0.32194
}Semantic roles & 50–950 ramp
primary
#9BA01C
secondary
#5853C4
accent
#3BED42
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A