#98A261#98A261
#98A261 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.088 H 115.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #98A261 |
|---|---|
| RGB | rgb(152, 162, 97) |
| HSL | hsl(69, 26%, 51%) |
| HSV | hsv(69, 40%, 64%) |
| CMYK | cmyk(6.2%, 0%, 40.1%, 36.5%) |
| CIE-LAB | lab(64.47, -14.04, 32.60) |
| CIE-LCH | lch(64.47, 35.49, 113.30°) |
| OKLab | oklab(68.88% -0.0387 0.0796) |
| OKLCH | oklch(68.88% 0.088 115.9) |
| XYZ | xyz(28.0271, 33.3794, 16.2733) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.40
Khaki (survey)
#AAA662
ΔE00 4.73
Camo
#7F8F4E
ΔE00 6.88
Moss
#769958
ΔE00 7.64
Sage
#87AE73
ΔE00 7.85
Tan Green
#A9BE70
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A261 #6B61A2
analogous
#A28B61 #98A261 #77A261
triadic
#98A261 #6198A2 #A26198
tetradic
#98A261 #61A28B #6B61A2 #A26177
square
#98A261 #61A28B #6B61A2 #A26177
split-complementary
#98A261 #6177A2 #8B61A2
monochromatic
#515633 #757D49 #98A261 #B1B988 #CACFAE
Accessibility & contrast
On white
2.74
#98A261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#98A261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A261
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A261 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9C5C
Deuteranopia (green-blind)
#A99D64
Tritanopia (blue-blind)
#9F9B92
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #98a261; /* rgb */ color: rgb(152, 162, 97); /* oklch */ color: oklch(68.9% 0.088 115.9);
Tailwind
colors: {
custom: {
50: '#b7bd8f',
500: '#98a261',
950: '#000000',
},
}SCSS
$custom: #98a261; $custom-light: #b7bd8f; $custom-dark: #000000;
JSON
{
"hex": "#98a261",
"rgb": {
"r": 152,
"g": 162,
"b": 97
},
"hsl": {
"h": 69.231,
"s": 25.896,
"l": 50.784
},
"oklch": {
"l": 0.68875,
"c": 0.08846,
"h": 115.9
},
"luminance": 0.33379
}Semantic roles & 50–950 ramp
primary
#98A261
secondary
#A5A1BE
accent
#66C274
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D