#96981F#96981F
#96981F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.7% C 0.135 H 110.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #96981F |
|---|---|
| RGB | rgb(150, 152, 31) |
| HSL | hsl(61, 66%, 36%) |
| HSV | hsv(61, 80%, 60%) |
| CMYK | cmyk(1.3%, 0%, 79.6%, 40.4%) |
| CIE-LAB | lab(60.82, -14.84, 57.91) |
| CIE-LCH | lch(60.82, 59.79, 104.37°) |
| OKLab | oklab(65.71% -0.0473 0.126) |
| OKLCH | oklch(65.71% 0.135 110.6) |
| XYZ | xyz(24.0541, 29.0401, 5.6343) |
| Luminance | 0.2904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 1.85
Baby Poop Green
#8F9805
ΔE00 2.06
Baby Shit Green
#889717
ΔE00 3.46
Vomit
#A2A415
ΔE00 4.10
Puke
#A5A502
ΔE00 4.91
Pea Soup Green
#94A617
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96981F #211F98
analogous
#985D1F #96981F #59981F
triadic
#96981F #1F9698 #981F96
tetradic
#96981F #1F985D #211F98 #981F59
square
#96981F #1F985D #211F98 #981F59
split-complementary
#96981F #1F5998 #5D1F98
monochromatic
#32320A #646515 #96981F #C8CB29 #DADC55
Accessibility & contrast
On white
3.08
#96981F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#96981F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #96981F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96981F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##96981F | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#A18E82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #96981f; /* rgb */ color: rgb(150, 152, 31); /* oklch */ color: oklch(65.7% 0.135 110.6);
Tailwind
colors: {
custom: {
50: '#b8b666',
500: '#96981f',
950: '#000000',
},
}SCSS
$custom: #96981f; $custom-light: #b8b666; $custom-dark: #000000;
JSON
{
"hex": "#96981f",
"rgb": {
"r": 150,
"g": 152,
"b": 31
},
"hsl": {
"h": 60.992,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.65713,
"c": 0.13455,
"h": 110.6
},
"luminance": 0.29039
}Semantic roles & 50–950 ramp
primary
#96981F
secondary
#5553C0
accent
#3FE942
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A