#98A01C#98A01C
#98A01C is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.144 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #98A01C |
|---|---|
| RGB | rgb(152, 160, 28) |
| HSL | hsl(64, 70%, 37%) |
| HSV | hsv(64, 83%, 63%) |
| CMYK | cmyk(5%, 0%, 82.5%, 37.3%) |
| CIE-LAB | lab(63.26, -18.20, 60.97) |
| CIE-LCH | lch(63.26, 63.63, 106.62°) |
| OKLab | oklab(67.71% -0.0569 0.1319) |
| OKLCH | oklch(67.71% 0.144 113.3) |
| XYZ | xyz(25.7302, 31.9014, 5.9006) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.37
Vomit
#A2A415
ΔE00 2.45
Pea Soup Green
#94A617
ΔE00 2.62
Baby Poop Green
#8F9805
ΔE00 2.69
Puke
#A5A502
ΔE00 3.49
Vomit Green
#89A203
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A01C #241CA0
analogous
#A0661C #98A01C #56A01C
triadic
#98A01C #1C98A0 #A01C98
tetradic
#98A01C #1CA066 #241CA0 #A01C56
square
#98A01C #1CA066 #241CA0 #A01C56
split-complementary
#98A01C #1C56A0 #661CA0
monochromatic
#35380A #676C13 #98A01C #C9D425 #D9E155
Accessibility & contrast
On white
2.85
#98A01C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#98A01C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A01C
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A01C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A01C | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9A29
Tritanopia (blue-blind)
#A39688
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #98a01c; /* rgb */ color: rgb(152, 160, 28); /* oklch */ color: oklch(67.7% 0.144 113.3);
Tailwind
colors: {
custom: {
50: '#babb66',
500: '#98a01c',
950: '#000000',
},
}SCSS
$custom: #98a01c; $custom-light: #babb66; $custom-dark: #000000;
JSON
{
"hex": "#98a01c",
"rgb": {
"r": 152,
"g": 160,
"b": 28
},
"hsl": {
"h": 63.636,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.67706,
"c": 0.14365,
"h": 113.3
},
"luminance": 0.31901
}Semantic roles & 50–950 ramp
primary
#98A01C
secondary
#5A53C4
accent
#3BED46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A