#98AB2A#98AB2A
#98AB2A is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.3% C 0.149 H 117.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #98AB2A |
|---|---|
| RGB | rgb(152, 171, 42) |
| HSL | hsl(69, 61%, 42%) |
| HSV | hsv(69, 75%, 67%) |
| CMYK | cmyk(11.1%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(66.50, -23.17, 59.67) |
| CIE-LCH | lch(66.50, 64.01, 111.22°) |
| OKLab | oklab(70.33% -0.0695 0.1316) |
| OKLCH | oklch(70.33% 0.149 117.9) |
| XYZ | xyz(27.9304, 35.9687, 7.6613) |
| Luminance | 0.3597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.85
Barf Green
#94AC02
ΔE00 2.17
Pea Green
#8EAB12
ΔE00 2.28
Puke Green
#9AAE07
ΔE00 2.36
Icky Green
#8FAE22
ΔE00 2.43
Sickly Green
#94B21C
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AB2A #3D2AAB
analogous
#AB7E2A #98AB2A #58AB2A
triadic
#98AB2A #2A98AB #AB2A98
tetradic
#98AB2A #2AAB7E #3D2AAB #AB2A58
square
#98AB2A #2AAB7E #3D2AAB #AB2A58
split-complementary
#98AB2A #2A58AB #7E2AAB
monochromatic
#414912 #6C7A1E #98AB2A #BBD142 #CDDD73
Accessibility & contrast
On white
2.56
#98AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#98AB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AB2A
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AB2A | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A10C
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ab2a; /* rgb */ color: rgb(152, 171, 42); /* oklch */ color: oklch(70.3% 0.149 117.9);
Tailwind
colors: {
custom: {
50: '#bac46e',
500: '#98ab2a',
950: '#000000',
},
}SCSS
$custom: #98ab2a; $custom-light: #bac46e; $custom-dark: #000000;
JSON
{
"hex": "#98ab2a",
"rgb": {
"r": 152,
"g": 171,
"b": 42
},
"hsl": {
"h": 68.837,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70325,
"c": 0.14885,
"h": 117.9
},
"luminance": 0.35968
}Semantic roles & 50–950 ramp
primary
#98AB2A
secondary
#7A6DC4
accent
#44E45C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B