#97A11C#97A11C
#97A11C is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.145 H 114.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #97A11C |
|---|---|
| RGB | rgb(151, 161, 28) |
| HSL | hsl(65, 70%, 37%) |
| HSV | hsv(65, 83%, 63%) |
| CMYK | cmyk(6.2%, 0%, 82.6%, 36.9%) |
| CIE-LAB | lab(63.47, -19.14, 61.12) |
| CIE-LCH | lch(63.47, 64.05, 107.39°) |
| OKLab | oklab(67.85% -0.0595 0.1323) |
| OKLCH | oklch(67.85% 0.145 114.2) |
| XYZ | xyz(25.7178, 32.1534, 5.9498) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.11
Pea Soup
#929901
ΔE00 2.67
Vomit
#A2A415
ΔE00 2.69
Baby Poop Green
#8F9805
ΔE00 2.90
Vomit Green
#89A203
ΔE00 3.33
Puke
#A5A502
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A11C #261CA1
analogous
#A1681C #97A11C #55A11C
triadic
#97A11C #1C97A1 #A11C97
tetradic
#97A11C #1CA168 #261CA1 #A11C55
square
#97A11C #1CA168 #261CA1 #A11C55
split-complementary
#97A11C #1C55A1 #681CA1
monochromatic
#35390A #666D13 #97A11C #C8D525 #D7E256
Accessibility & contrast
On white
2.83
#97A11C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#97A11C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A11C
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A11C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A11C | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #97a11c; /* rgb */ color: rgb(151, 161, 28); /* oklch */ color: oklch(67.9% 0.145 114.2);
Tailwind
colors: {
custom: {
50: '#b9bc66',
500: '#97a11c',
950: '#000000',
},
}SCSS
$custom: #97a11c; $custom-light: #b9bc66; $custom-dark: #000000;
JSON
{
"hex": "#97a11c",
"rgb": {
"r": 151,
"g": 161,
"b": 28
},
"hsl": {
"h": 64.511,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.67854,
"c": 0.14502,
"h": 114.2
},
"luminance": 0.32153
}Semantic roles & 50–950 ramp
primary
#97A11C
secondary
#5C54C5
accent
#3BED48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A