#96A51B#96A51B
#96A51B is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.7% C 0.150 H 116.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #96A51B |
|---|---|
| RGB | rgb(150, 165, 27) |
| HSL | hsl(67, 72%, 38%) |
| HSV | hsv(67, 84%, 65%) |
| CMYK | cmyk(9.1%, 0%, 83.6%, 35.3%) |
| CIE-LAB | lab(64.54, -21.63, 62.27) |
| CIE-LCH | lch(64.54, 65.92, 109.16°) |
| OKLab | oklab(68.69% -0.0664 0.1346) |
| OKLCH | oklch(68.69% 0.15 116.2) |
| XYZ | xyz(26.2314, 33.4738, 6.1159) |
| Luminance | 0.3347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.68
Vomit Green
#89A203
ΔE00 2.61
Barf Green
#94AC02
ΔE00 2.62
Puke Green
#9AAE07
ΔE00 2.87
Pea Green
#8EAB12
ΔE00 3.08
Vomit
#A2A415
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96A51B #2A1BA5
analogous
#A56F1B #96A51B #51A51B
triadic
#96A51B #1B96A5 #A51B96
tetradic
#96A51B #1BA56F #2A1BA5 #A51B51
square
#96A51B #1BA56F #2A1BA5 #A51B51
split-complementary
#96A51B #1B51A5 #6F1BA5
monochromatic
#363C0A #667012 #96A51B #C6DA24 #D4E357
Accessibility & contrast
On white
2.73
#96A51B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#96A51B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #96A51B
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96A51B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96A51B | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09D2A
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #96a51b; /* rgb */ color: rgb(150, 165, 27); /* oklch */ color: oklch(68.7% 0.150 116.2);
Tailwind
colors: {
custom: {
50: '#b9bf67',
500: '#96a51b',
950: '#000000',
},
}SCSS
$custom: #96a51b; $custom-light: #b9bf67; $custom-dark: #000000;
JSON
{
"hex": "#96a51b",
"rgb": {
"r": 150,
"g": 165,
"b": 27
},
"hsl": {
"h": 66.522,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.68695,
"c": 0.15007,
"h": 116.2
},
"luminance": 0.33473
}Semantic roles & 50–950 ramp
primary
#96A51B
secondary
#6155C7
accent
#39EF4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A