#97A927#97A927
#97A927 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.149 H 117.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #97A927 |
|---|---|
| RGB | rgb(151, 169, 39) |
| HSL | hsl(68, 63%, 41%) |
| HSV | hsv(68, 77%, 66%) |
| CMYK | cmyk(10.7%, 0%, 76.9%, 33.7%) |
| CIE-LAB | lab(65.83, -22.74, 60.00) |
| CIE-LCH | lch(65.83, 64.16, 110.76°) |
| OKLab | oklab(69.76% -0.0686 0.1318) |
| OKLCH | oklch(69.76% 0.149 117.5) |
| XYZ | xyz(27.3173, 35.1020, 7.2554) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.31
Barf Green
#94AC02
ΔE00 2.20
Pea Green
#8EAB12
ΔE00 2.34
Puke Green
#9AAE07
ΔE00 2.47
Icky Green
#8FAE22
ΔE00 2.76
Vomit Green
#89A203
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A927 #3927A9
analogous
#A97A27 #97A927 #56A927
triadic
#97A927 #2797A9 #A92797
tetradic
#97A927 #27A97A #3927A9 #A92756
square
#97A927 #27A97A #3927A9 #A92756
split-complementary
#97A927 #2756A9 #7A27A9
monochromatic
#3E4610 #6B771C #97A927 #BDD23B #CEDD6D
Accessibility & contrast
On white
2.62
#97A927 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#97A927 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A927
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A927 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #97a927; /* rgb */ color: rgb(151, 169, 39); /* oklch */ color: oklch(69.8% 0.149 117.5);
Tailwind
colors: {
custom: {
50: '#b9c26c',
500: '#97a927',
950: '#000000',
},
}SCSS
$custom: #97a927; $custom-light: #b9c26c; $custom-dark: #000000;
JSON
{
"hex": "#97a927",
"rgb": {
"r": 151,
"g": 169,
"b": 39
},
"hsl": {
"h": 68.308,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.69764,
"c": 0.14857,
"h": 117.5
},
"luminance": 0.35102
}Semantic roles & 50–950 ramp
primary
#97A927
secondary
#7568C4
accent
#42E659
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A