#98A838#98A838
#98A838 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.136 H 117.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #98A838 |
|---|---|
| RGB | rgb(152, 168, 56) |
| HSL | hsl(69, 50%, 44%) |
| HSV | hsv(69, 67%, 66%) |
| CMYK | cmyk(9.5%, 0%, 66.7%, 34.1%) |
| CIE-LAB | lab(65.72, -20.89, 53.68) |
| CIE-LCH | lch(65.72, 57.60, 111.26°) |
| OKLab | oklab(69.73% -0.0619 0.1213) |
| OKLCH | oklch(69.73% 0.136 117) |
| XYZ | xyz(27.6659, 34.9665, 9.0324) |
| Luminance | 0.3497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.79
Icky Green
#8FAE22
ΔE00 3.59
Pea Green
#8EAB12
ΔE00 3.64
Booger
#9BB53C
ΔE00 3.88
Avocado Green
#87A922
ΔE00 3.88
Barf Green
#94AC02
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A838 #4838A8
analogous
#A88038 #98A838 #60A838
triadic
#98A838 #3898A8 #A83898
tetradic
#98A838 #38A880 #4838A8 #A83860
square
#98A838 #38A880 #4838A8 #A83860
split-complementary
#98A838 #3860A8 #8038A8
monochromatic
#454C19 #6E7A29 #98A838 #B7C756 #CAD684
Accessibility & contrast
On white
2.63
#98A838 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#98A838 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A838
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A838 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A838 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #98a838; /* rgb */ color: rgb(152, 168, 56); /* oklch */ color: oklch(69.7% 0.136 117.0);
Tailwind
colors: {
custom: {
50: '#b9c175',
500: '#98a838',
950: '#000000',
},
}SCSS
$custom: #98a838; $custom-light: #b9c175; $custom-dark: #000000;
JSON
{
"hex": "#98a838",
"rgb": {
"r": 152,
"g": 168,
"b": 56
},
"hsl": {
"h": 68.571,
"s": 50,
"l": 43.922
},
"oklch": {
"l": 0.69733,
"c": 0.1362,
"h": 117
},
"luminance": 0.34966
}Semantic roles & 50–950 ramp
primary
#98A838
secondary
#867CC0
accent
#4EDA62
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B