#98AD2E#98AD2E
#98AD2E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.8% C 0.149 H 118.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #98AD2E |
|---|---|
| RGB | rgb(152, 173, 46) |
| HSL | hsl(70, 58%, 43%) |
| HSV | hsv(70, 73%, 68%) |
| CMYK | cmyk(12.1%, 0%, 73.4%, 32.2%) |
| CIE-LAB | lab(67.10, -23.96, 58.86) |
| CIE-LCH | lch(67.10, 63.55, 112.15°) |
| OKLab | oklab(70.82% -0.0714 0.1306) |
| OKLCH | oklch(70.82% 0.149 118.7) |
| XYZ | xyz(28.3862, 36.7600, 8.1842) |
| Luminance | 0.3676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Icky Green
#8FAE22
ΔE00 2.04
Pea Green
#8EAB12
ΔE00 2.28
Sickly Green
#94B21C
ΔE00 2.32
Barf Green
#94AC02
ΔE00 2.41
Pea Soup Green
#94A617
ΔE00 2.53
Booger
#9BB53C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AD2E #432EAD
analogous
#AD822E #98AD2E #59AD2E
triadic
#98AD2E #2E98AD #AD2E98
tetradic
#98AD2E #2EAD82 #432EAD #AD2E59
square
#98AD2E #2EAD82 #432EAD #AD2E59
split-complementary
#98AD2E #2E59AD #822EAD
monochromatic
#434C14 #6E7D21 #98AD2E #B9CF49 #CBDC7A
Accessibility & contrast
On white
2.51
#98AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#98AD2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AD2E
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AD2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AD2E | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A315
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#A1A395
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #98ad2e; /* rgb */ color: rgb(152, 173, 46); /* oklch */ color: oklch(70.8% 0.149 118.7);
Tailwind
colors: {
custom: {
50: '#bac570',
500: '#98ad2e',
950: '#000000',
},
}SCSS
$custom: #98ad2e; $custom-light: #bac570; $custom-dark: #000000;
JSON
{
"hex": "#98ad2e",
"rgb": {
"r": 152,
"g": 173,
"b": 46
},
"hsl": {
"h": 69.921,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.70816,
"c": 0.14884,
"h": 118.7
},
"luminance": 0.3676
}Semantic roles & 50–950 ramp
primary
#98AD2E
secondary
#8073C4
accent
#47E160
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B