#97A01A#97A01A
#97A01A is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.145 H 113.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #97A01A |
|---|---|
| RGB | rgb(151, 160, 26) |
| HSL | hsl(64, 72%, 36%) |
| HSV | hsv(64, 84%, 63%) |
| CMYK | cmyk(5.6%, 0%, 83.8%, 37.3%) |
| CIE-LAB | lab(63.17, -18.70, 61.38) |
| CIE-LCH | lch(63.17, 64.17, 106.94°) |
| OKLab | oklab(67.61% -0.0584 0.1325) |
| OKLCH | oklch(67.61% 0.145 113.8) |
| XYZ | xyz(25.5206, 31.7961, 5.7700) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.33
Pea Soup Green
#94A617
ΔE00 2.44
Vomit
#A2A415
ΔE00 2.61
Baby Poop Green
#8F9805
ΔE00 2.61
Vomit Green
#89A203
ΔE00 3.54
Puke
#A5A502
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A01A #231AA0
analogous
#A0661A #97A01A #54A01A
triadic
#97A01A #1A97A0 #A01A97
tetradic
#97A01A #1AA066 #231AA0 #A01A54
square
#97A01A #1AA066 #231AA0 #A01A54
split-complementary
#97A01A #1A54A0 #661AA0
monochromatic
#343709 #656B11 #97A01A #C9D523 #D9E352
Accessibility & contrast
On white
2.85
#97A01A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#97A01A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A01A
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A01A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A01A | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A28
Tritanopia (blue-blind)
#A29688
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #97a01a; /* rgb */ color: rgb(151, 160, 26); /* oklch */ color: oklch(67.6% 0.145 113.8);
Tailwind
colors: {
custom: {
50: '#b9bb66',
500: '#97a01a',
950: '#000000',
},
}SCSS
$custom: #97a01a; $custom-light: #b9bb66; $custom-dark: #000000;
JSON
{
"hex": "#97a01a",
"rgb": {
"r": 151,
"g": 160,
"b": 26
},
"hsl": {
"h": 64.03,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.67614,
"c": 0.14478,
"h": 113.8
},
"luminance": 0.31796
}Semantic roles & 50–950 ramp
primary
#97A01A
secondary
#5850C5
accent
#39EF45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A