#98A71C#98A71C
#98A71C is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.151 H 116.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #98A71C |
|---|---|
| RGB | rgb(152, 167, 28) |
| HSL | hsl(66, 71%, 38%) |
| HSV | hsv(66, 83%, 65%) |
| CMYK | cmyk(9%, 0%, 83.2%, 34.5%) |
| CIE-LAB | lab(65.28, -21.74, 62.71) |
| CIE-LCH | lch(65.28, 66.37, 109.12°) |
| OKLab | oklab(69.32% -0.0667 0.1356) |
| OKLCH | oklch(69.32% 0.151 116.2) |
| XYZ | xyz(26.9780, 34.3971, 6.3165) |
| Luminance | 0.3440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.81
Barf Green
#94AC02
ΔE00 2.26
Puke Green
#9AAE07
ΔE00 2.35
Pea Green
#8EAB12
ΔE00 2.94
Vomit Green
#89A203
ΔE00 3.00
Vomit
#A2A415
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A71C #2B1CA7
analogous
#A7701C #98A71C #52A71C
triadic
#98A71C #1C98A7 #A71C98
tetradic
#98A71C #1CA770 #2B1CA7 #A71C52
square
#98A71C #1CA770 #2B1CA7 #A71C52
split-complementary
#98A71C #1C52A7 #701CA7
monochromatic
#393E0A #687313 #98A71C #C7DB26 #D5E35A
Accessibility & contrast
On white
2.67
#98A71C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#98A71C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A71C
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A71C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A71C | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#A29D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #98a71c; /* rgb */ color: rgb(152, 167, 28); /* oklch */ color: oklch(69.3% 0.151 116.2);
Tailwind
colors: {
custom: {
50: '#bac167',
500: '#98a71c',
950: '#000000',
},
}SCSS
$custom: #98a71c; $custom-light: #bac167; $custom-dark: #000000;
JSON
{
"hex": "#98a71c",
"rgb": {
"r": 152,
"g": 167,
"b": 28
},
"hsl": {
"h": 66.475,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.69324,
"c": 0.15113,
"h": 116.2
},
"luminance": 0.34397
}Semantic roles & 50–950 ramp
primary
#98A71C
secondary
#6458C7
accent
#3AEE4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A