#98A71B#98A71B
#98A71B is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.152 H 116.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #98A71B |
|---|---|
| RGB | rgb(152, 167, 27) |
| HSL | hsl(66, 72%, 38%) |
| HSV | hsv(66, 84%, 65%) |
| CMYK | cmyk(9%, 0%, 83.8%, 34.5%) |
| CIE-LAB | lab(65.27, -21.77, 62.96) |
| CIE-LCH | lch(65.27, 66.61, 109.07°) |
| OKLab | oklab(69.32% -0.0668 0.136) |
| OKLCH | oklch(69.32% 0.152 116.2) |
| XYZ | xyz(26.9662, 34.3924, 6.2545) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.82
Barf Green
#94AC02
ΔE00 2.24
Puke Green
#9AAE07
ΔE00 2.32
Pea Green
#8EAB12
ΔE00 2.94
Vomit Green
#89A203
ΔE00 3.00
Vomit
#A2A415
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A71B #2A1BA7
analogous
#A7701B #98A71B #52A71B
triadic
#98A71B #1B98A7 #A71B98
tetradic
#98A71B #1BA770 #2A1BA7 #A71B52
square
#98A71B #1BA770 #2A1BA7 #A71B52
split-complementary
#98A71B #1B52A7 #701BA7
monochromatic
#383E0A #687212 #98A71B #C8DC24 #D5E458
Accessibility & contrast
On white
2.67
#98A71B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#98A71B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A71B
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A71B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A71B | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2A
Tritanopia (blue-blind)
#A29D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #98a71b; /* rgb */ color: rgb(152, 167, 27); /* oklch */ color: oklch(69.3% 0.152 116.2);
Tailwind
colors: {
custom: {
50: '#bac167',
500: '#98a71b',
950: '#000000',
},
}SCSS
$custom: #98a71b; $custom-light: #bac167; $custom-dark: #000000;
JSON
{
"hex": "#98a71b",
"rgb": {
"r": 152,
"g": 167,
"b": 27
},
"hsl": {
"h": 66.429,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.6932,
"c": 0.15153,
"h": 116.2
},
"luminance": 0.34392
}Semantic roles & 50–950 ramp
primary
#98A71B
secondary
#6256C8
accent
#39EF4C
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A