#98AB2F#98AB2F
#98AB2F is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.146 H 118.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #98AB2F |
|---|---|
| RGB | rgb(152, 171, 47) |
| HSL | hsl(69, 57%, 43%) |
| HSV | hsv(69, 73%, 67%) |
| CMYK | cmyk(11.1%, 0%, 72.5%, 32.9%) |
| CIE-LAB | lab(66.53, -22.92, 57.95) |
| CIE-LCH | lch(66.53, 62.32, 111.58°) |
| OKLab | oklab(70.36% -0.0684 0.1289) |
| OKLCH | oklch(70.36% 0.146 118) |
| XYZ | xyz(28.0255, 36.0067, 8.1624) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.18
Icky Green
#8FAE22
ΔE00 2.48
Pea Green
#8EAB12
ΔE00 2.51
Barf Green
#94AC02
ΔE00 2.61
Puke Green
#9AAE07
ΔE00 2.82
Sickly Green
#94B21C
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AB2F #422FAB
analogous
#AB802F #98AB2F #5AAB2F
triadic
#98AB2F #2F98AB #AB2F98
tetradic
#98AB2F #2FAB80 #422FAB #AB2F5A
square
#98AB2F #2FAB80 #422FAB #AB2F5A
split-complementary
#98AB2F #2F5AAB #802FAB
monochromatic
#434B15 #6D7B22 #98AB2F #B9CD4A #CCDA7A
Accessibility & contrast
On white
2.56
#98AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#98AB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AB2F
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AB2F | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A218
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ab2f; /* rgb */ color: rgb(152, 171, 47); /* oklch */ color: oklch(70.4% 0.146 118.0);
Tailwind
colors: {
custom: {
50: '#bac470',
500: '#98ab2f',
950: '#000000',
},
}SCSS
$custom: #98ab2f; $custom-light: #bac470; $custom-dark: #000000;
JSON
{
"hex": "#98ab2f",
"rgb": {
"r": 152,
"g": 171,
"b": 47
},
"hsl": {
"h": 69.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.70358,
"c": 0.14589,
"h": 118
},
"luminance": 0.36006
}Semantic roles & 50–950 ramp
primary
#98AB2F
secondary
#7F73C3
accent
#48E05F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B