#98AC2B#98AC2B
#98AC2B is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.149 H 118.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #98AC2B |
|---|---|
| RGB | rgb(152, 172, 43) |
| HSL | hsl(69, 60%, 42%) |
| HSV | hsv(69, 75%, 67%) |
| CMYK | cmyk(11.6%, 0%, 75%, 32.5%) |
| CIE-LAB | lab(66.79, -23.62, 59.61) |
| CIE-LCH | lch(66.79, 64.12, 111.61°) |
| OKLab | oklab(70.56% -0.0707 0.1317) |
| OKLCH | oklch(70.56% 0.149 118.2) |
| XYZ | xyz(28.1381, 36.3551, 7.8200) |
| Luminance | 0.3635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.13
Barf Green
#94AC02
ΔE00 2.18
Pea Green
#8EAB12
ΔE00 2.20
Icky Green
#8FAE22
ΔE00 2.21
Puke Green
#9AAE07
ΔE00 2.36
Sickly Green
#94B21C
ΔE00 2.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AC2B #3F2BAC
analogous
#AC7F2B #98AC2B #58AC2B
triadic
#98AC2B #2B98AC #AC2B98
tetradic
#98AC2B #2BAC7F #3F2BAC #AC2B58
square
#98AC2B #2BAC7F #3F2BAC #AC2B58
split-complementary
#98AC2B #2B58AC #7F2BAC
monochromatic
#414A13 #6D7B1F #98AC2B #BAD044 #CCDC75
Accessibility & contrast
On white
2.54
#98AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#98AC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AC2B
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AC2B | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20E
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A1A294
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #98ac2b; /* rgb */ color: rgb(152, 172, 43); /* oklch */ color: oklch(70.6% 0.149 118.2);
Tailwind
colors: {
custom: {
50: '#bac46e',
500: '#98ac2b',
950: '#000000',
},
}SCSS
$custom: #98ac2b; $custom-light: #bac46e; $custom-dark: #000000;
JSON
{
"hex": "#98ac2b",
"rgb": {
"r": 152,
"g": 172,
"b": 43
},
"hsl": {
"h": 69.302,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.70564,
"c": 0.14943,
"h": 118.2
},
"luminance": 0.36355
}Semantic roles & 50–950 ramp
primary
#98AC2B
secondary
#7C6FC4
accent
#45E35D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B