#96A42A#96A42A
#96A42A is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.5% C 0.142 H 116.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #96A42A |
|---|---|
| RGB | rgb(150, 164, 42) |
| HSL | hsl(67, 59%, 40%) |
| HSV | hsv(67, 74%, 64%) |
| CMYK | cmyk(8.5%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(64.32, -20.52, 57.56) |
| CIE-LCH | lch(64.32, 61.11, 109.63°) |
| OKLab | oklab(68.54% -0.0621 0.1272) |
| OKLCH | oklch(68.54% 0.142 116) |
| XYZ | xyz(26.2717, 33.2025, 7.2148) |
| Luminance | 0.3320 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.65
Vomit Green
#89A203
ΔE00 3.01
Barf Green
#94AC02
ΔE00 3.52
Pea Green
#8EAB12
ΔE00 3.56
Puke Green
#9AAE07
ΔE00 3.81
Vomit
#A2A415
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A42A #382AA4
analogous
#A4752A #96A42A #59A42A
triadic
#96A42A #2A96A4 #A42A96
tetradic
#96A42A #2AA475 #382AA4 #A42A59
square
#96A42A #2AA475 #382AA4 #A42A59
split-complementary
#96A42A #2A59A4 #752AA4
monochromatic
#3D4311 #69731E #96A42A #BDCD3E #CEDA6E
Accessibility & contrast
On white
2.75
#96A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#96A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A42A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A42A | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #96a42a; /* rgb */ color: rgb(150, 164, 42); /* oklch */ color: oklch(68.5% 0.142 116.0);
Tailwind
colors: {
custom: {
50: '#b8be6d',
500: '#96a42a',
950: '#000000',
},
}SCSS
$custom: #96a42a; $custom-light: #b8be6d; $custom-dark: #000000;
JSON
{
"hex": "#96a42a",
"rgb": {
"r": 150,
"g": 164,
"b": 42
},
"hsl": {
"h": 66.885,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.68542,
"c": 0.14158,
"h": 116
},
"luminance": 0.33202
}Semantic roles & 50–950 ramp
primary
#96A42A
secondary
#7369C1
accent
#45E257
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A