#98AA2A#98AA2A
#98AA2A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.148 H 117.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #98AA2A |
|---|---|
| RGB | rgb(152, 170, 42) |
| HSL | hsl(68, 60%, 42%) |
| HSV | hsv(68, 75%, 67%) |
| CMYK | cmyk(10.6%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(66.21, -22.67, 59.39) |
| CIE-LCH | lch(66.21, 63.58, 110.89°) |
| OKLab | oklab(70.09% -0.0682 0.131) |
| OKLCH | oklch(70.09% 0.148 117.5) |
| XYZ | xyz(27.7422, 35.5923, 7.5986) |
| Luminance | 0.3559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.66
Barf Green
#94AC02
ΔE00 2.30
Pea Green
#8EAB12
ΔE00 2.43
Puke Green
#9AAE07
ΔE00 2.48
Icky Green
#8FAE22
ΔE00 2.68
Sickly Green
#94B21C
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AA2A #3C2AAA
analogous
#AA7C2A #98AA2A #58AA2A
triadic
#98AA2A #2A98AA #AA2A98
tetradic
#98AA2A #2AAA7C #3C2AAA #AA2A58
square
#98AA2A #2AAA7C #3C2AAA #AA2A58
split-complementary
#98AA2A #2A58AA #7C2AAA
monochromatic
#404812 #6C791E #98AA2A #BCD041 #CDDC72
Accessibility & contrast
On white
2.59
#98AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#98AA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AA2A
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AA2A | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#A2A092
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #98aa2a; /* rgb */ color: rgb(152, 170, 42); /* oklch */ color: oklch(70.1% 0.148 117.5);
Tailwind
colors: {
custom: {
50: '#bac36e',
500: '#98aa2a',
950: '#000000',
},
}SCSS
$custom: #98aa2a; $custom-light: #bac36e; $custom-dark: #000000;
JSON
{
"hex": "#98aa2a",
"rgb": {
"r": 152,
"g": 170,
"b": 42
},
"hsl": {
"h": 68.438,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.70093,
"c": 0.14771,
"h": 117.5
},
"luminance": 0.35592
}Semantic roles & 50–950 ramp
primary
#98AA2A
secondary
#796CC3
accent
#44E45B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B