#98A61C#98A61C
#98A61C is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.150 H 115.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #98A61C |
|---|---|
| RGB | rgb(152, 166, 28) |
| HSL | hsl(66, 71%, 38%) |
| HSV | hsv(66, 83%, 65%) |
| CMYK | cmyk(8.4%, 0%, 83.1%, 34.9%) |
| CIE-LAB | lab(64.99, -21.23, 62.46) |
| CIE-LCH | lch(64.99, 65.97, 108.78°) |
| OKLab | oklab(69.09% -0.0653 0.1351) |
| OKLCH | oklch(69.09% 0.15 115.8) |
| XYZ | xyz(26.7955, 34.0321, 6.2557) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.91
Barf Green
#94AC02
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 2.64
Vomit Green
#89A203
ΔE00 3.00
Vomit
#A2A415
ΔE00 3.09
Pea Green
#8EAB12
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A61C #2A1CA6
analogous
#A66F1C #98A61C #53A61C
triadic
#98A61C #1C98A6 #A61C98
tetradic
#98A61C #1CA66F #2A1CA6 #A61C53
square
#98A61C #1CA66F #2A1CA6 #A61C53
split-complementary
#98A61C #1C53A6 #6F1CA6
monochromatic
#383D0A #687213 #98A61C #C8DA25 #D5E359
Accessibility & contrast
On white
2.69
#98A61C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#98A61C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A61C
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A61C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A61C | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #98a61c; /* rgb */ color: rgb(152, 166, 28); /* oklch */ color: oklch(69.1% 0.150 115.8);
Tailwind
colors: {
custom: {
50: '#bac067',
500: '#98a61c',
950: '#000000',
},
}SCSS
$custom: #98a61c; $custom-light: #bac067; $custom-dark: #000000;
JSON
{
"hex": "#98a61c",
"rgb": {
"r": 152,
"g": 166,
"b": 28
},
"hsl": {
"h": 66.087,
"s": 71.134,
"l": 38.039
},
"oklch": {
"l": 0.69092,
"c": 0.15005,
"h": 115.8
},
"luminance": 0.34032
}Semantic roles & 50–950 ramp
primary
#98A61C
secondary
#6257C7
accent
#3AEE4C
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A