#98AB1C#98AB1C
#98AB1C is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.156 H 117.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #98AB1C |
|---|---|
| RGB | rgb(152, 171, 28) |
| HSL | hsl(68, 72%, 39%) |
| HSV | hsv(68, 84%, 67%) |
| CMYK | cmyk(11.1%, 0%, 83.6%, 32.9%) |
| CIE-LAB | lab(66.43, -23.72, 63.70) |
| CIE-LCH | lch(66.43, 67.98, 110.43°) |
| OKLab | oklab(70.25% -0.0721 0.1378) |
| OKLCH | oklch(70.25% 0.156 117.6) |
| XYZ | xyz(27.7221, 35.8854, 6.5646) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.29
Puke Green
#9AAE07
ΔE00 1.38
Pea Soup Green
#94A617
ΔE00 1.47
Pea Green
#8EAB12
ΔE00 2.11
Sickly Green
#94B21C
ΔE00 2.66
Icky Green
#8FAE22
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AB1C #2F1CAB
analogous
#AB771C #98AB1C #51AB1C
triadic
#98AB1C #1C98AB #AB1C98
tetradic
#98AB1C #1CAB77 #2F1CAB #AB1C51
square
#98AB1C #1CAB77 #2F1CAB #AB1C51
split-complementary
#98AB1C #1C51AB #771CAB
monochromatic
#3B420B #697613 #98AB1C #C4DC28 #D2E45D
Accessibility & contrast
On white
2.57
#98AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#98AB1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AB1C
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AB1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AB1C | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ab1c; /* rgb */ color: rgb(152, 171, 28); /* oklch */ color: oklch(70.3% 0.156 117.6);
Tailwind
colors: {
custom: {
50: '#bac368',
500: '#98ab1c',
950: '#000000',
},
}SCSS
$custom: #98ab1c; $custom-light: #bac368; $custom-dark: #000000;
JSON
{
"hex": "#98ab1c",
"rgb": {
"r": 152,
"g": 171,
"b": 28
},
"hsl": {
"h": 67.972,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.70254,
"c": 0.15551,
"h": 117.6
},
"luminance": 0.35885
}Semantic roles & 50–950 ramp
primary
#98AB1C
secondary
#695AC9
accent
#39EF51
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A