#96971F#96971F
#96971F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.134 H 110.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #96971F |
|---|---|
| RGB | rgb(150, 151, 31) |
| HSL | hsl(61, 66%, 36%) |
| HSV | hsv(61, 79%, 59%) |
| CMYK | cmyk(0.7%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(60.53, -14.32, 57.66) |
| CIE-LCH | lch(60.53, 59.41, 103.95°) |
| OKLab | oklab(65.48% -0.0458 0.1254) |
| OKLCH | oklch(65.48% 0.134 110.1) |
| XYZ | xyz(23.8925, 28.7169, 5.5804) |
| Luminance | 0.2872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.07
Baby Poop Green
#8F9805
ΔE00 2.27
Baby Shit Green
#889717
ΔE00 3.63
Vomit
#A2A415
ΔE00 4.36
Puke
#A5A502
ΔE00 5.13
Pea Soup Green
#94A617
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96971F #201F97
analogous
#975C1F #96971F #5A971F
triadic
#96971F #1F9697 #971F96
tetradic
#96971F #1F975C #201F97 #971F5A
square
#96971F #1F975C #201F97 #971F5A
split-complementary
#96971F #1F5A97 #5C1F97
monochromatic
#31310A #646415 #96971F #C8CA29 #DBDC54
Accessibility & contrast
On white
3.11
#96971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#96971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96971F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96971F | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A18D81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #96971f; /* rgb */ color: rgb(150, 151, 31); /* oklch */ color: oklch(65.5% 0.134 110.1);
Tailwind
colors: {
custom: {
50: '#b8b566',
500: '#96971f',
950: '#000000',
},
}SCSS
$custom: #96971f; $custom-light: #b8b566; $custom-dark: #000000;
JSON
{
"hex": "#96971f",
"rgb": {
"r": 150,
"g": 151,
"b": 31
},
"hsl": {
"h": 60.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.65484,
"c": 0.13353,
"h": 110.1
},
"luminance": 0.28716
}Semantic roles & 50–950 ramp
primary
#96971F
secondary
#5352BF
accent
#3FE940
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A