#98A72A#98A72A
#98A72A is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.4% C 0.144 H 116.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #98A72A |
|---|---|
| RGB | rgb(152, 167, 42) |
| HSL | hsl(67, 60%, 41%) |
| HSV | hsv(67, 75%, 65%) |
| CMYK | cmyk(9%, 0%, 74.9%, 34.5%) |
| CIE-LAB | lab(65.34, -21.17, 58.58) |
| CIE-LCH | lch(65.34, 62.29, 109.87°) |
| OKLab | oklab(69.4% -0.064 0.1293) |
| OKLCH | oklch(69.4% 0.144 116.3) |
| XYZ | xyz(27.1862, 34.4804, 7.4133) |
| Luminance | 0.3448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.41
Barf Green
#94AC02
ΔE00 2.88
Puke Green
#9AAE07
ΔE00 3.05
Pea Green
#8EAB12
ΔE00 3.07
Vomit Green
#89A203
ΔE00 3.23
Icky Green
#8FAE22
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A72A #392AA7
analogous
#A7772A #98A72A #59A72A
triadic
#98A72A #2A98A7 #A72A98
tetradic
#98A72A #2AA777 #392AA7 #A72A59
square
#98A72A #2AA777 #392AA7 #A72A59
split-complementary
#98A72A #2A59A7 #772AA7
monochromatic
#3F4511 #6B761E #98A72A #BECF3F #CEDB70
Accessibility & contrast
On white
2.66
#98A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#98A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A72A
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A72A | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#B29F35
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #98a72a; /* rgb */ color: rgb(152, 167, 42); /* oklch */ color: oklch(69.4% 0.144 116.3);
Tailwind
colors: {
custom: {
50: '#bac16d',
500: '#98a72a',
950: '#000000',
},
}SCSS
$custom: #98a72a; $custom-light: #bac16d; $custom-dark: #000000;
JSON
{
"hex": "#98a72a",
"rgb": {
"r": 152,
"g": 167,
"b": 42
},
"hsl": {
"h": 67.2,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.69398,
"c": 0.14429,
"h": 116.3
},
"luminance": 0.3448
}Semantic roles & 50–950 ramp
primary
#98A72A
secondary
#756BC2
accent
#45E358
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B