#98B751#98B751
#98B751 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.5% C 0.134 H 123.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #98B751 |
|---|---|
| RGB | rgb(152, 183, 81) |
| HSL | hsl(78, 41%, 52%) |
| HSV | hsv(78, 56%, 72%) |
| CMYK | cmyk(16.9%, 0%, 55.7%, 28.2%) |
| CIE-LAB | lab(70.27, -26.33, 47.63) |
| CIE-LCH | lch(70.27, 54.42, 118.93°) |
| OKLab | oklab(73.46% -0.0747 0.1116) |
| OKLCH | oklch(73.46% 0.134 123.8) |
| XYZ | xyz(31.3677, 41.1363, 14.0705) |
| Luminance | 0.4114 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 2.46
Booger
#9BB53C
ΔE00 3.12
Avocado (survey)
#90B134
ΔE00 3.47
Light Olive
#ACBF69
ΔE00 4.29
Tan Green
#A9BE70
ΔE00 4.78
Sick Green
#9DB92C
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98B751 #7051B7
analogous
#B7A351 #98B751 #65B751
triadic
#98B751 #5198B7 #B75198
tetradic
#98B751 #51B7A3 #7051B7 #B75165
square
#98B751 #51B7A3 #7051B7 #B75165
split-complementary
#98B751 #5165B7 #A351B7
monochromatic
#526429 #768F3B #98B751 #B2C97C #CBDBA8
Accessibility & contrast
On white
2.28
#98B751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#98B751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98B751
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98B751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98B751 | 1.00 | 2.28 | 9.23 | 9.23 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#BCAC57
Tritanopia (blue-blind)
#9EAFA0
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #98b751; /* rgb */ color: rgb(152, 183, 81); /* oklch */ color: oklch(73.5% 0.134 123.8);
Tailwind
colors: {
custom: {
50: '#b8cc85',
500: '#98b751',
950: '#000000',
},
}SCSS
$custom: #98b751; $custom-light: #b8cc85; $custom-dark: #000000;
JSON
{
"hex": "#98b751",
"rgb": {
"r": 152,
"g": 183,
"b": 81
},
"hsl": {
"h": 78.235,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.73464,
"c": 0.13428,
"h": 123.8
},
"luminance": 0.41136
}Semantic roles & 50–950 ramp
primary
#98B751
secondary
#A99CC8
accent
#57D17C
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C