#98A01A#98A01A
#98A01A is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.144 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #98A01A |
|---|---|
| RGB | rgb(152, 160, 26) |
| HSL | hsl(64, 72%, 36%) |
| HSV | hsv(64, 84%, 63%) |
| CMYK | cmyk(5%, 0%, 83.8%, 37.3%) |
| CIE-LAB | lab(63.25, -18.26, 61.48) |
| CIE-LCH | lch(63.25, 64.14, 106.54°) |
| OKLab | oklab(67.7% -0.0572 0.1327) |
| OKLCH | oklch(67.7% 0.144 113.3) |
| XYZ | xyz(25.7070, 31.8922, 5.7787) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.32
Vomit
#A2A415
ΔE00 2.39
Pea Soup Green
#94A617
ΔE00 2.62
Baby Poop Green
#8F9805
ΔE00 2.67
Puke
#A5A502
ΔE00 3.41
Vomit Green
#89A203
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A01A #221AA0
analogous
#A0651A #98A01A #55A01A
triadic
#98A01A #1A98A0 #A01A98
tetradic
#98A01A #1AA065 #221AA0 #A01A55
square
#98A01A #1AA065 #221AA0 #A01A55
split-complementary
#98A01A #1A55A0 #651AA0
monochromatic
#343709 #666B11 #98A01A #CAD523 #DAE352
Accessibility & contrast
On white
2.85
#98A01A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#98A01A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A01A
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A01A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A01A | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9A28
Tritanopia (blue-blind)
#A39688
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #98a01a; /* rgb */ color: rgb(152, 160, 26); /* oklch */ color: oklch(67.7% 0.144 113.3);
Tailwind
colors: {
custom: {
50: '#babb66',
500: '#98a01a',
950: '#000000',
},
}SCSS
$custom: #98a01a; $custom-light: #babb66; $custom-dark: #000000;
JSON
{
"hex": "#98a01a",
"rgb": {
"r": 152,
"g": 160,
"b": 26
},
"hsl": {
"h": 63.582,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.67698,
"c": 0.14447,
"h": 113.3
},
"luminance": 0.31892
}Semantic roles & 50–950 ramp
primary
#98A01A
secondary
#5750C5
accent
#39EF44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A