#98A751#98A751
#98A751 is a light, moderate yellow-green. Relative luminance 0.349; OKLCH L 69.8% C 0.113 H 117.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #98A751 |
|---|---|
| RGB | rgb(152, 167, 81) |
| HSL | hsl(70, 35%, 49%) |
| HSV | hsv(70, 51%, 65%) |
| CMYK | cmyk(9%, 0%, 51.5%, 34.5%) |
| CIE-LAB | lab(65.68, -18.36, 42.26) |
| CIE-LCH | lch(65.68, 46.07, 113.49°) |
| OKLab | oklab(69.77% -0.0523 0.1) |
| OKLCH | oklch(69.77% 0.113 117.6) |
| XYZ | xyz(28.2531, 34.9072, 13.0324) |
| Luminance | 0.3491 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Booger
#9BB53C
ΔE00 5.65
Avocado (survey)
#90B134
ΔE00 5.69
Moss Green
#8A9A5B
ΔE00 5.78
Khaki (survey)
#AAA662
ΔE00 5.79
Avocado Green
#87A922
ΔE00 6.14
Pea Soup Green
#94A617
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A751 #6051A7
analogous
#A78B51 #98A751 #6DA751
triadic
#98A751 #5198A7 #A75198
tetradic
#98A751 #51A78B #6051A7 #A7516D
square
#98A751 #51A78B #6051A7 #A7516D
split-complementary
#98A751 #516DA7 #8B51A7
monochromatic
#4D5529 #727E3D #98A751 #B1BD78 #C9D1A1
Accessibility & contrast
On white
2.63
#98A751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#98A751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A751
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A751 | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19F49
Deuteranopia (green-blind)
#AFA056
Tritanopia (blue-blind)
#A09F93
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #98a751; /* rgb */ color: rgb(152, 167, 81); /* oklch */ color: oklch(69.8% 0.113 117.6);
Tailwind
colors: {
custom: {
50: '#b8c184',
500: '#98a751',
950: '#000000',
},
}SCSS
$custom: #98a751; $custom-light: #b8c184; $custom-dark: #000000;
JSON
{
"hex": "#98a751",
"rgb": {
"r": 152,
"g": 167,
"b": 81
},
"hsl": {
"h": 70.465,
"s": 34.677,
"l": 48.627
},
"oklch": {
"l": 0.69773,
"c": 0.11281,
"h": 117.6
},
"luminance": 0.34907
}Semantic roles & 50–950 ramp
primary
#98A751
secondary
#9C95BF
accent
#5DCB70
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C