#98A01F#98A01F
#98A01F is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.142 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #98A01F |
|---|---|
| RGB | rgb(152, 160, 31) |
| HSL | hsl(64, 68%, 37%) |
| HSV | hsv(64, 81%, 63%) |
| CMYK | cmyk(5%, 0%, 80.6%, 37.3%) |
| CIE-LAB | lab(63.27, -18.09, 60.15) |
| CIE-LCH | lch(63.27, 62.82, 106.74°) |
| OKLab | oklab(67.72% -0.0564 0.1307) |
| OKLCH | oklch(67.72% 0.142 113.3) |
| XYZ | xyz(25.7679, 31.9165, 6.0992) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.47
Vomit
#A2A415
ΔE00 2.57
Pea Soup Green
#94A617
ΔE00 2.63
Baby Poop Green
#8F9805
ΔE00 2.75
Puke
#A5A502
ΔE00 3.63
Vomit Green
#89A203
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A01F #271FA0
analogous
#A0681F #98A01F #57A01F
triadic
#98A01F #1F98A0 #A01F98
tetradic
#98A01F #1FA068 #271FA0 #A01F57
square
#98A01F #1FA068 #271FA0 #A01F57
split-complementary
#98A01F #1F57A0 #681FA0
monochromatic
#37390B #676D15 #98A01F #C9D329 #D7DF5A
Accessibility & contrast
On white
2.84
#98A01F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#98A01F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A01F
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A01F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A01F | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 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)
#AC9800
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #98a01f; /* rgb */ color: rgb(152, 160, 31); /* oklch */ color: oklch(67.7% 0.142 113.3);
Tailwind
colors: {
custom: {
50: '#babb68',
500: '#98a01f',
950: '#000000',
},
}SCSS
$custom: #98a01f; $custom-light: #babb68; $custom-dark: #000000;
JSON
{
"hex": "#98a01f",
"rgb": {
"r": 152,
"g": 160,
"b": 31
},
"hsl": {
"h": 63.721,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.6772,
"c": 0.14233,
"h": 113.3
},
"luminance": 0.31916
}Semantic roles & 50–950 ramp
primary
#98A01F
secondary
#5E58C3
accent
#3DEA48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A