#98AB2B#98AB2B
#98AB2B is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.3% C 0.148 H 117.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #98AB2B |
|---|---|
| RGB | rgb(152, 171, 43) |
| HSL | hsl(69, 60%, 42%) |
| HSV | hsv(69, 75%, 67%) |
| CMYK | cmyk(11.1%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(66.50, -23.12, 59.33) |
| CIE-LCH | lch(66.50, 63.68, 111.29°) |
| OKLab | oklab(70.33% -0.0693 0.1311) |
| OKLCH | oklch(70.33% 0.148 117.9) |
| XYZ | xyz(27.9485, 35.9759, 7.7567) |
| Luminance | 0.3598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.91
Barf Green
#94AC02
ΔE00 2.25
Pea Green
#8EAB12
ΔE00 2.31
Icky Green
#8FAE22
ΔE00 2.44
Puke Green
#9AAE07
ΔE00 2.44
Sickly Green
#94B21C
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AB2B #3E2BAB
analogous
#AB7E2B #98AB2B #58AB2B
triadic
#98AB2B #2B98AB #AB2B98
tetradic
#98AB2B #2BAB7E #3E2BAB #AB2B58
square
#98AB2B #2BAB7E #3E2BAB #AB2B58
split-complementary
#98AB2B #2B58AB #7E2BAB
monochromatic
#414912 #6D7A1F #98AB2B #BBD043 #CDDC74
Accessibility & contrast
On white
2.56
#98AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#98AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AB2B
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AB2B | 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)
#B7A10F
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ab2b; /* rgb */ color: rgb(152, 171, 43); /* oklch */ color: oklch(70.3% 0.148 117.9);
Tailwind
colors: {
custom: {
50: '#bac46e',
500: '#98ab2b',
950: '#000000',
},
}SCSS
$custom: #98ab2b; $custom-light: #bac46e; $custom-dark: #000000;
JSON
{
"hex": "#98ab2b",
"rgb": {
"r": 152,
"g": 171,
"b": 43
},
"hsl": {
"h": 68.906,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.70331,
"c": 0.14828,
"h": 117.9
},
"luminance": 0.35976
}Semantic roles & 50–950 ramp
primary
#98AB2B
secondary
#7B6EC4
accent
#45E35C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B