#96A41F#96A41F
#96A41F is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.147 H 115.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #96A41F |
|---|---|
| RGB | rgb(150, 164, 31) |
| HSL | hsl(66, 68%, 38%) |
| HSV | hsv(66, 81%, 64%) |
| CMYK | cmyk(8.5%, 0%, 81.1%, 35.7%) |
| CIE-LAB | lab(64.27, -20.99, 60.97) |
| CIE-LCH | lch(64.27, 64.49, 109.00°) |
| OKLab | oklab(68.48% -0.0643 0.1325) |
| OKLCH | oklch(68.48% 0.147 115.9) |
| XYZ | xyz(26.1012, 33.1343, 6.3166) |
| Luminance | 0.3313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.03
Vomit Green
#89A203
ΔE00 2.70
Barf Green
#94AC02
ΔE00 3.03
Puke Green
#9AAE07
ΔE00 3.28
Vomit
#A2A415
ΔE00 3.33
Pea Green
#8EAB12
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A41F #2D1FA4
analogous
#A46F1F #96A41F #53A41F
triadic
#96A41F #1F96A4 #A41F96
tetradic
#96A41F #1FA46F #2D1FA4 #A41F53
square
#96A41F #1FA46F #2D1FA4 #A41F53
split-complementary
#96A41F #1F53A4 #6F1FA4
monochromatic
#383D0C #677115 #96A41F #C4D72A #D3E05D
Accessibility & contrast
On white
2.75
#96A41F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#96A41F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A41F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A41F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A41F | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#A09A8C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #96a41f; /* rgb */ color: rgb(150, 164, 31); /* oklch */ color: oklch(68.5% 0.147 115.9);
Tailwind
colors: {
custom: {
50: '#b9be68',
500: '#96a41f',
950: '#000000',
},
}SCSS
$custom: #96a41f; $custom-light: #b9be68; $custom-dark: #000000;
JSON
{
"hex": "#96a41f",
"rgb": {
"r": 150,
"g": 164,
"b": 31
},
"hsl": {
"h": 66.316,
"s": 68.205,
"l": 38.235
},
"oklch": {
"l": 0.68481,
"c": 0.1473,
"h": 115.9
},
"luminance": 0.33134
}Semantic roles & 50–950 ramp
primary
#96A41F
secondary
#655AC5
accent
#3DEB4F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A