#96A42F#96A42F
#96A42F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.138 H 116.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #96A42F |
|---|---|
| RGB | rgb(150, 164, 47) |
| HSL | hsl(67, 55%, 41%) |
| HSV | hsv(67, 71%, 64%) |
| CMYK | cmyk(8.5%, 0%, 71.3%, 35.7%) |
| CIE-LAB | lab(64.36, -20.26, 55.78) |
| CIE-LCH | lch(64.36, 59.35, 109.97°) |
| OKLab | oklab(68.58% -0.0609 0.1243) |
| OKLCH | oklch(68.58% 0.138 116.1) |
| XYZ | xyz(26.3669, 33.2406, 7.7159) |
| Luminance | 0.3324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.10
Vomit Green
#89A203
ΔE00 3.29
Pea Green
#8EAB12
ΔE00 3.76
Barf Green
#94AC02
ΔE00 3.86
Puke Green
#9AAE07
ΔE00 4.15
Icky Green
#8FAE22
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A42F #3D2FA4
analogous
#A4782F #96A42F #5CA42F
triadic
#96A42F #2F96A4 #A42F96
tetradic
#96A42F #2FA478 #3D2FA4 #A42F5C
square
#96A42F #2FA478 #3D2FA4 #A42F5C
split-complementary
#96A42F #2F5CA4 #782FA4
monochromatic
#3F4514 #6A7421 #96A42F #BACA46 #CCD876
Accessibility & contrast
On white
2.75
#96A42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#96A42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A42F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A42F | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #96a42f; /* rgb */ color: rgb(150, 164, 47); /* oklch */ color: oklch(68.6% 0.138 116.1);
Tailwind
colors: {
custom: {
50: '#b8be6f',
500: '#96a42f',
950: '#000000',
},
}SCSS
$custom: #96a42f; $custom-light: #b8be6f; $custom-dark: #000000;
JSON
{
"hex": "#96a42f",
"rgb": {
"r": 150,
"g": 164,
"b": 47
},
"hsl": {
"h": 67.179,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.68577,
"c": 0.13847,
"h": 116.1
},
"luminance": 0.3324
}Semantic roles & 50–950 ramp
primary
#96A42F
secondary
#796FC0
accent
#49DF5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B