#98AA2E#98AA2E
#98AA2E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.145 H 117.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #98AA2E |
|---|---|
| RGB | rgb(152, 170, 46) |
| HSL | hsl(69, 57%, 42%) |
| HSV | hsv(69, 73%, 67%) |
| CMYK | cmyk(10.6%, 0%, 72.9%, 33.3%) |
| CIE-LAB | lab(66.23, -22.47, 58.03) |
| CIE-LCH | lch(66.23, 62.23, 111.17°) |
| OKLab | oklab(70.12% -0.0673 0.1288) |
| OKLCH | oklch(70.12% 0.145 117.6) |
| XYZ | xyz(27.8174, 35.6224, 7.9946) |
| Luminance | 0.3562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.95
Pea Green
#8EAB12
ΔE00 2.60
Barf Green
#94AC02
ΔE00 2.63
Icky Green
#8FAE22
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 2.83
Sickly Green
#94B21C
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AA2E #402EAA
analogous
#AA7E2E #98AA2E #5AAA2E
triadic
#98AA2E #2E98AA #AA2E98
tetradic
#98AA2E #2EAA7E #402EAA #AA2E5A
square
#98AA2E #2EAA7E #402EAA #AA2E5A
split-complementary
#98AA2E #2E5AAA #7E2EAA
monochromatic
#424A14 #6D7A21 #98AA2E #BACD48 #CCDA78
Accessibility & contrast
On white
2.58
#98AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#98AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AA2E
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AA2E | 1.00 | 2.58 | 8.12 | 8.12 |
| #FFFFFF | 2.58 | 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)
#B6A116
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#A1A092
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #98aa2e; /* rgb */ color: rgb(152, 170, 46); /* oklch */ color: oklch(70.1% 0.145 117.6);
Tailwind
colors: {
custom: {
50: '#bac370',
500: '#98aa2e',
950: '#000000',
},
}SCSS
$custom: #98aa2e; $custom-light: #bac370; $custom-dark: #000000;
JSON
{
"hex": "#98aa2e",
"rgb": {
"r": 152,
"g": 170,
"b": 46
},
"hsl": {
"h": 68.71,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.70119,
"c": 0.14535,
"h": 117.6
},
"luminance": 0.35622
}Semantic roles & 50–950 ramp
primary
#98AA2E
secondary
#7D71C3
accent
#47E15D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B