#98AB27#98AB27
#98AB27 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.150 H 117.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #98AB27 |
|---|---|
| RGB | rgb(152, 171, 39) |
| HSL | hsl(69, 63%, 41%) |
| HSV | hsv(69, 77%, 67%) |
| CMYK | cmyk(11.1%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(66.48, -23.31, 60.63) |
| CIE-LCH | lch(66.48, 64.95, 111.03°) |
| OKLab | oklab(70.31% -0.0702 0.1331) |
| OKLCH | oklch(70.31% 0.15 117.8) |
| XYZ | xyz(27.8787, 35.9480, 7.3891) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.70
Barf Green
#94AC02
ΔE00 1.93
Puke Green
#9AAE07
ΔE00 2.11
Pea Green
#8EAB12
ΔE00 2.18
Icky Green
#8FAE22
ΔE00 2.45
Sickly Green
#94B21C
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AB27 #3A27AB
analogous
#AB7C27 #98AB27 #56AB27
triadic
#98AB27 #2798AB #AB2798
tetradic
#98AB27 #27AB7C #3A27AB #AB2756
square
#98AB27 #27AB7C #3A27AB #AB2756
split-complementary
#98AB27 #2756AB #7C27AB
monochromatic
#3F4710 #6C791C #98AB27 #BDD33D #CEDE6E
Accessibility & contrast
On white
2.56
#98AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#98AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AB27
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AB27 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ab27; /* rgb */ color: rgb(152, 171, 39); /* oklch */ color: oklch(70.3% 0.150 117.8);
Tailwind
colors: {
custom: {
50: '#bac36c',
500: '#98ab27',
950: '#000000',
},
}SCSS
$custom: #98ab27; $custom-light: #bac36c; $custom-dark: #000000;
JSON
{
"hex": "#98ab27",
"rgb": {
"r": 152,
"g": 171,
"b": 39
},
"hsl": {
"h": 68.636,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.70307,
"c": 0.15048,
"h": 117.8
},
"luminance": 0.35948
}Semantic roles & 50–950 ramp
primary
#98AB27
secondary
#7669C5
accent
#42E659
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B