#96A71B#96A71B
#96A71B 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 | #96A71B |
|---|---|
| RGB | rgb(150, 167, 27) |
| HSL | hsl(67, 72%, 38%) |
| HSV | hsv(67, 84%, 65%) |
| CMYK | cmyk(10.2%, 0%, 83.8%, 34.5%) |
| CIE-LAB | lab(65.12, -22.63, 62.77) |
| CIE-LCH | lch(65.12, 66.72, 109.83°) |
| OKLab | oklab(69.16% -0.0691 0.1357) |
| OKLCH | oklch(69.16% 0.152 117) |
| XYZ | xyz(26.5950, 34.2009, 6.2371) |
| Luminance | 0.3420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.43
Barf Green
#94AC02
ΔE00 2.02
Puke Green
#9AAE07
ΔE00 2.33
Pea Green
#8EAB12
ΔE00 2.52
Vomit Green
#89A203
ΔE00 2.62
Icky Green
#8FAE22
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A71B #2C1BA7
analogous
#A7721B #96A71B #50A71B
triadic
#96A71B #1B96A7 #A71B96
tetradic
#96A71B #1BA772 #2C1BA7 #A71B50
square
#96A71B #1BA772 #2C1BA7 #A71B50
split-complementary
#96A71B #1B50A7 #721BA7
monochromatic
#373E0A #677212 #96A71B #C5DC24 #D3E458
Accessibility & contrast
On white
2.68
#96A71B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#96A71B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A71B
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A71B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A71B | 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)
#B19F2A
Tritanopia (blue-blind)
#A09D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #96a71b; /* rgb */ color: rgb(150, 167, 27); /* oklch */ color: oklch(69.2% 0.152 117.0);
Tailwind
colors: {
custom: {
50: '#b9c167',
500: '#96a71b',
950: '#000000',
},
}SCSS
$custom: #96a71b; $custom-light: #b9c167; $custom-dark: #000000;
JSON
{
"hex": "#96a71b",
"rgb": {
"r": 150,
"g": 167,
"b": 27
},
"hsl": {
"h": 67.286,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.69161,
"c": 0.15226,
"h": 117
},
"luminance": 0.34201
}Semantic roles & 50–950 ramp
primary
#96A71B
secondary
#6456C8
accent
#39EF4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A