#98A31A#98A31A
#98A31A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.148 H 114.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #98A31A |
|---|---|
| RGB | rgb(152, 163, 26) |
| HSL | hsl(65, 72%, 37%) |
| HSV | hsv(65, 84%, 64%) |
| CMYK | cmyk(6.7%, 0%, 84%, 36.1%) |
| CIE-LAB | lab(64.12, -19.79, 62.22) |
| CIE-LCH | lch(64.12, 65.29, 107.64°) |
| OKLab | oklab(68.39% -0.0614 0.1342) |
| OKLCH | oklch(68.39% 0.148 114.6) |
| XYZ | xyz(26.2334, 32.9449, 5.9541) |
| Luminance | 0.3294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.66
Vomit
#A2A415
ΔE00 2.54
Pea Soup
#929901
ΔE00 3.18
Vomit Green
#89A203
ΔE00 3.25
Baby Poop Green
#8F9805
ΔE00 3.44
Barf Green
#94AC02
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A31A #251AA3
analogous
#A36A1A #98A31A #53A31A
triadic
#98A31A #1A98A3 #A31A98
tetradic
#98A31A #1AA36A #251AA3 #A31A53
square
#98A31A #1AA36A #251AA3 #A31A53
split-complementary
#98A31A #1A53A3 #6A1AA3
monochromatic
#363909 #676E12 #98A31A #C9D822 #D8E454
Accessibility & contrast
On white
2.77
#98A31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#98A31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A31A
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A31A | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AF9C29
Tritanopia (blue-blind)
#A3998B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #98a31a; /* rgb */ color: rgb(152, 163, 26); /* oklch */ color: oklch(68.4% 0.148 114.6);
Tailwind
colors: {
custom: {
50: '#babe66',
500: '#98a31a',
950: '#000000',
},
}SCSS
$custom: #98a31a; $custom-light: #babe66; $custom-dark: #000000;
JSON
{
"hex": "#98a31a",
"rgb": {
"r": 152,
"g": 163,
"b": 26
},
"hsl": {
"h": 64.818,
"s": 72.487,
"l": 37.059
},
"oklch": {
"l": 0.6839,
"c": 0.14763,
"h": 114.6
},
"luminance": 0.32944
}Semantic roles & 50–950 ramp
primary
#98A31A
secondary
#5C52C7
accent
#39EF47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A