#98A62F#98A62F
#98A62F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.140 H 116.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #98A62F |
|---|---|
| RGB | rgb(152, 166, 47) |
| HSL | hsl(67, 56%, 42%) |
| HSV | hsv(67, 72%, 65%) |
| CMYK | cmyk(8.4%, 0%, 71.7%, 34.9%) |
| CIE-LAB | lab(65.08, -20.42, 56.55) |
| CIE-LCH | lch(65.08, 60.12, 109.85°) |
| OKLab | oklab(69.2% -0.0615 0.1259) |
| OKLCH | oklch(69.2% 0.14 116) |
| XYZ | xyz(27.0989, 34.1535, 7.8535) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.91
Vomit Green
#89A203
ΔE00 3.47
Barf Green
#94AC02
ΔE00 3.47
Pea Green
#8EAB12
ΔE00 3.52
Puke Green
#9AAE07
ΔE00 3.65
Icky Green
#8FAE22
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A62F #3D2FA6
analogous
#A6792F #98A62F #5DA62F
triadic
#98A62F #2F98A6 #A62F98
tetradic
#98A62F #2FA679 #3D2FA6 #A62F5D
square
#98A62F #2FA679 #3D2FA6 #A62F5D
split-complementary
#98A62F #2F5DA6 #792FA6
monochromatic
#414714 #6C7621 #98A62F #BBCB47 #CDD877
Accessibility & contrast
On white
2.68
#98A62F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#98A62F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A62F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A62F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A62F | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D1A
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A29C8F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #98a62f; /* rgb */ color: rgb(152, 166, 47); /* oklch */ color: oklch(69.2% 0.140 116.0);
Tailwind
colors: {
custom: {
50: '#b9c070',
500: '#98a62f',
950: '#000000',
},
}SCSS
$custom: #98a62f; $custom-light: #b9c070; $custom-dark: #000000;
JSON
{
"hex": "#98a62f",
"rgb": {
"r": 152,
"g": 166,
"b": 47
},
"hsl": {
"h": 67.059,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.692,
"c": 0.1401,
"h": 116
},
"luminance": 0.34153
}Semantic roles & 50–950 ramp
primary
#98A62F
secondary
#7A70C1
accent
#49DF5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B