#96A42C#96A42C
#96A42C is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.140 H 116.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #96A42C |
|---|---|
| RGB | rgb(150, 164, 44) |
| HSL | hsl(67, 58%, 41%) |
| HSV | hsv(67, 73%, 64%) |
| CMYK | cmyk(8.5%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(64.34, -20.42, 56.86) |
| CIE-LCH | lch(64.34, 60.42, 109.76°) |
| OKLab | oklab(68.56% -0.0617 0.1261) |
| OKLCH | oklch(68.56% 0.14 116.1) |
| XYZ | xyz(26.3084, 33.2172, 7.4080) |
| Luminance | 0.3322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.82
Vomit Green
#89A203
ΔE00 3.11
Pea Green
#8EAB12
ΔE00 3.63
Barf Green
#94AC02
ΔE00 3.65
Puke Green
#9AAE07
ΔE00 3.94
Vomit
#A2A415
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A42C #3A2CA4
analogous
#A4762C #96A42C #5AA42C
triadic
#96A42C #2C96A4 #A42C96
tetradic
#96A42C #2CA476 #3A2CA4 #A42C5A
square
#96A42C #2CA476 #3A2CA4 #A42C5A
split-complementary
#96A42C #2C5AA4 #762CA4
monochromatic
#3E4312 #6A741F #96A42C #BCCC41 #CDD971
Accessibility & contrast
On white
2.75
#96A42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#96A42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A42C
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A42C | 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)
#B09B15
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #96a42c; /* rgb */ color: rgb(150, 164, 44); /* oklch */ color: oklch(68.6% 0.140 116.1);
Tailwind
colors: {
custom: {
50: '#b8be6e',
500: '#96a42c',
950: '#000000',
},
}SCSS
$custom: #96a42c; $custom-light: #b8be6e; $custom-dark: #000000;
JSON
{
"hex": "#96a42c",
"rgb": {
"r": 150,
"g": 164,
"b": 44
},
"hsl": {
"h": 67,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.68556,
"c": 0.14037,
"h": 116.1
},
"luminance": 0.33217
}Semantic roles & 50–950 ramp
primary
#96A42C
secondary
#756BC0
accent
#47E159
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B