#98AC1E#98AC1E
#98AC1E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.156 H 118.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #98AC1E |
|---|---|
| RGB | rgb(152, 172, 30) |
| HSL | hsl(68, 70%, 40%) |
| HSV | hsv(68, 83%, 67%) |
| CMYK | cmyk(11.6%, 0%, 82.6%, 32.5%) |
| CIE-LAB | lab(66.73, -24.15, 63.45) |
| CIE-LCH | lch(66.73, 67.89, 110.84°) |
| OKLab | oklab(70.49% -0.0732 0.1376) |
| OKLCH | oklch(70.49% 0.156 118) |
| XYZ | xyz(27.9365, 36.2745, 6.7580) |
| Luminance | 0.3627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.26
Puke Green
#9AAE07
ΔE00 1.36
Pea Soup Green
#94A617
ΔE00 1.75
Pea Green
#8EAB12
ΔE00 1.98
Sickly Green
#94B21C
ΔE00 2.34
Icky Green
#8FAE22
ΔE00 2.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AC1E #321EAC
analogous
#AC791E #98AC1E #51AC1E
triadic
#98AC1E #1E98AC #AC1E98
tetradic
#98AC1E #1EAC79 #321EAC #AC1E51
square
#98AC1E #1EAC79 #321EAC #AC1E51
split-complementary
#98AC1E #1E51AC #791EAC
monochromatic
#3C440C #6A7815 #98AC1E #C2DA2D #D1E361
Accessibility & contrast
On white
2.54
#98AC1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#98AC1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AC1E
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AC1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AC1E | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ac1e; /* rgb */ color: rgb(152, 172, 30); /* oklch */ color: oklch(70.5% 0.156 118.0);
Tailwind
colors: {
custom: {
50: '#bac469',
500: '#98ac1e',
950: '#000000',
},
}SCSS
$custom: #98ac1e; $custom-light: #bac469; $custom-dark: #000000;
JSON
{
"hex": "#98ac1e",
"rgb": {
"r": 152,
"g": 172,
"b": 30
},
"hsl": {
"h": 68.451,
"s": 70.297,
"l": 39.608
},
"oklch": {
"l": 0.70495,
"c": 0.15581,
"h": 118
},
"luminance": 0.36274
}Semantic roles & 50–950 ramp
primary
#98AC1E
secondary
#6D5EC8
accent
#3BED54
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A