#97A51B#97A51B
#97A51B is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.150 H 115.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #97A51B |
|---|---|
| RGB | rgb(151, 165, 27) |
| HSL | hsl(66, 72%, 38%) |
| HSV | hsv(66, 84%, 65%) |
| CMYK | cmyk(8.5%, 0%, 83.6%, 35.3%) |
| CIE-LAB | lab(64.62, -21.20, 62.37) |
| CIE-LCH | lch(64.62, 65.87, 108.77°) |
| OKLab | oklab(68.78% -0.0652 0.1348) |
| OKLCH | oklch(68.78% 0.15 115.8) |
| XYZ | xyz(26.4162, 33.5691, 6.1246) |
| Luminance | 0.3357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.89
Barf Green
#94AC02
ΔE00 2.73
Vomit Green
#89A203
ΔE00 2.82
Puke Green
#9AAE07
ΔE00 2.89
Vomit
#A2A415
ΔE00 3.11
Pea Green
#8EAB12
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A51B #291BA5
analogous
#A56E1B #97A51B #52A51B
triadic
#97A51B #1B97A5 #A51B97
tetradic
#97A51B #1BA56E #291BA5 #A51B52
square
#97A51B #1BA56E #291BA5 #A51B52
split-complementary
#97A51B #1B52A5 #6E1BA5
monochromatic
#373C0A #677012 #97A51B #C7DA24 #D5E357
Accessibility & contrast
On white
2.72
#97A51B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#97A51B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A51B
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A51B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A51B | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2A
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #97a51b; /* rgb */ color: rgb(151, 165, 27); /* oklch */ color: oklch(68.8% 0.150 115.8);
Tailwind
colors: {
custom: {
50: '#b9bf67',
500: '#97a51b',
950: '#000000',
},
}SCSS
$custom: #97a51b; $custom-light: #b9bf67; $custom-dark: #000000;
JSON
{
"hex": "#97a51b",
"rgb": {
"r": 151,
"g": 165,
"b": 27
},
"hsl": {
"h": 66.087,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.68776,
"c": 0.14971,
"h": 115.8
},
"luminance": 0.33569
}Semantic roles & 50–950 ramp
primary
#97A51B
secondary
#6155C7
accent
#39EF4C
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A