#98AC30#98AC30
#98AC30 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.146 H 118.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #98AC30 |
|---|---|
| RGB | rgb(152, 172, 48) |
| HSL | hsl(70, 56%, 43%) |
| HSV | hsv(70, 72%, 67%) |
| CMYK | cmyk(11.6%, 0%, 72.1%, 32.5%) |
| CIE-LAB | lab(66.82, -23.36, 57.88) |
| CIE-LCH | lch(66.82, 62.42, 111.98°) |
| OKLab | oklab(70.6% -0.0695 0.1289) |
| OKLCH | oklch(70.6% 0.146 118.4) |
| XYZ | xyz(28.2355, 36.3941, 8.3330) |
| Luminance | 0.3639 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Icky Green
#8FAE22
ΔE00 2.28
Pea Soup Green
#94A617
ΔE00 2.44
Pea Green
#8EAB12
ΔE00 2.47
Barf Green
#94AC02
ΔE00 2.64
Sickly Green
#94B21C
ΔE00 2.69
Booger
#9BB53C
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AC30 #4430AC
analogous
#AC8230 #98AC30 #5AAC30
triadic
#98AC30 #3098AC #AC3098
tetradic
#98AC30 #30AC82 #4430AC #AC305A
square
#98AC30 #30AC82 #4430AC #AC305A
split-complementary
#98AC30 #305AAC #8230AC
monochromatic
#434C15 #6E7C23 #98AC30 #B8CD4C #CBDA7C
Accessibility & contrast
On white
2.54
#98AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#98AC30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AC30
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AC30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AC30 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A1A294
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #98ac30; /* rgb */ color: rgb(152, 172, 48); /* oklch */ color: oklch(70.6% 0.146 118.4);
Tailwind
colors: {
custom: {
50: '#bac471',
500: '#98ac30',
950: '#000000',
},
}SCSS
$custom: #98ac30; $custom-light: #bac471; $custom-dark: #000000;
JSON
{
"hex": "#98ac30",
"rgb": {
"r": 152,
"g": 172,
"b": 48
},
"hsl": {
"h": 69.677,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.70597,
"c": 0.14643,
"h": 118.4
},
"luminance": 0.36394
}Semantic roles & 50–950 ramp
primary
#98AC30
secondary
#8175C3
accent
#48E061
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B