#98A51E#98A51E
#98A51E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.148 H 115.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #98A51E |
|---|---|
| RGB | rgb(152, 165, 30) |
| HSL | hsl(66, 69%, 38%) |
| HSV | hsv(66, 82%, 65%) |
| CMYK | cmyk(7.9%, 0%, 81.8%, 35.3%) |
| CIE-LAB | lab(64.71, -20.66, 61.69) |
| CIE-LCH | lch(64.71, 65.06, 108.52°) |
| OKLab | oklab(68.87% -0.0636 0.1338) |
| OKLCH | oklch(68.87% 0.148 115.4) |
| XYZ | xyz(26.6392, 33.6799, 6.3256) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.12
Barf Green
#94AC02
ΔE00 2.91
Vomit
#A2A415
ΔE00 2.96
Puke Green
#9AAE07
ΔE00 3.00
Vomit Green
#89A203
ΔE00 3.05
Pea Green
#8EAB12
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A51E #2B1EA5
analogous
#A56E1E #98A51E #54A51E
triadic
#98A51E #1E98A5 #A51E98
tetradic
#98A51E #1EA56E #2B1EA5 #A51E54
square
#98A51E #1EA56E #2B1EA5 #A51E54
split-complementary
#98A51E #1E54A5 #6E1EA5
monochromatic
#393D0B #687115 #98A51E #C7D828 #D5E15C
Accessibility & contrast
On white
2.71
#98A51E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#98A51E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A51E
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A51E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A51E | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #98a51e; /* rgb */ color: rgb(152, 165, 30); /* oklch */ color: oklch(68.9% 0.148 115.4);
Tailwind
colors: {
custom: {
50: '#babf68',
500: '#98a51e',
950: '#000000',
},
}SCSS
$custom: #98a51e; $custom-light: #babf68; $custom-dark: #000000;
JSON
{
"hex": "#98a51e",
"rgb": {
"r": 152,
"g": 165,
"b": 30
},
"hsl": {
"h": 65.778,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.6887,
"c": 0.14813,
"h": 115.4
},
"luminance": 0.33679
}Semantic roles & 50–950 ramp
primary
#98A51E
secondary
#6459C5
accent
#3CEC4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A