#96A71C#96A71C
#96A71C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.152 H 117.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #96A71C |
|---|---|
| RGB | rgb(150, 167, 28) |
| HSL | hsl(67, 71%, 38%) |
| HSV | hsv(67, 83%, 65%) |
| CMYK | cmyk(10.2%, 0%, 83.2%, 34.5%) |
| CIE-LAB | lab(65.13, -22.60, 62.52) |
| CIE-LCH | lch(65.13, 66.48, 109.87°) |
| OKLab | oklab(69.16% -0.0689 0.1353) |
| OKLCH | oklch(69.16% 0.152 117) |
| XYZ | xyz(26.6067, 34.2057, 6.2991) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.45
Barf Green
#94AC02
ΔE00 2.05
Puke Green
#9AAE07
ΔE00 2.36
Pea Green
#8EAB12
ΔE00 2.51
Vomit Green
#89A203
ΔE00 2.62
Icky Green
#8FAE22
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A71C #2D1CA7
analogous
#A7721C #96A71C #50A71C
triadic
#96A71C #1C96A7 #A71C96
tetradic
#96A71C #1CA772 #2D1CA7 #A71C50
square
#96A71C #1CA772 #2D1CA7 #A71C50
split-complementary
#96A71C #1C50A7 #721CA7
monochromatic
#383E0A #677313 #96A71C #C4DB26 #D3E35A
Accessibility & contrast
On white
2.68
#96A71C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#96A71C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A71C
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A71C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A71C | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#A09D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #96a71c; /* rgb */ color: rgb(150, 167, 28); /* oklch */ color: oklch(69.2% 0.152 117.0);
Tailwind
colors: {
custom: {
50: '#b9c167',
500: '#96a71c',
950: '#000000',
},
}SCSS
$custom: #96a71c; $custom-light: #b9c167; $custom-dark: #000000;
JSON
{
"hex": "#96a71c",
"rgb": {
"r": 150,
"g": 167,
"b": 28
},
"hsl": {
"h": 67.338,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.69165,
"c": 0.15186,
"h": 117
},
"luminance": 0.34205
}Semantic roles & 50–950 ramp
primary
#96A71C
secondary
#6558C7
accent
#3AEE50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A