#98AD1F#98AD1F
#98AD1F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.7% C 0.157 H 118.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #98AD1F |
|---|---|
| RGB | rgb(152, 173, 31) |
| HSL | hsl(69, 70%, 40%) |
| HSV | hsv(69, 82%, 68%) |
| CMYK | cmyk(12.1%, 0%, 82.1%, 32.2%) |
| CIE-LAB | lab(67.02, -24.61, 63.44) |
| CIE-LCH | lch(67.02, 68.05, 111.20°) |
| OKLab | oklab(70.73% -0.0743 0.1377) |
| OKLCH | oklch(70.73% 0.157 118.4) |
| XYZ | xyz(28.1405, 36.6617, 6.8900) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.27
Puke Green
#9AAE07
ΔE00 1.37
Pea Green
#8EAB12
ΔE00 1.90
Sickly Green
#94B21C
ΔE00 2.03
Pea Soup Green
#94A617
ΔE00 2.05
Icky Green
#8FAE22
ΔE00 2.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AD1F #341FAD
analogous
#AD7B1F #98AD1F #51AD1F
triadic
#98AD1F #1F98AD #AD1F98
tetradic
#98AD1F #1FAD7B #341FAD #AD1F51
square
#98AD1F #1FAD7B #341FAD #AD1F51
split-complementary
#98AD1F #1F51AD #7B1FAD
monochromatic
#3D450C #6A7916 #98AD1F #C1DA2F #D0E363
Accessibility & contrast
On white
2.52
#98AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#98AD1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AD1F
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AD1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AD1F | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#A2A394
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #98ad1f; /* rgb */ color: rgb(152, 173, 31); /* oklch */ color: oklch(70.7% 0.157 118.4);
Tailwind
colors: {
custom: {
50: '#bac569',
500: '#98ad1f',
950: '#000000',
},
}SCSS
$custom: #98ad1f; $custom-light: #bac569; $custom-dark: #000000;
JSON
{
"hex": "#98ad1f",
"rgb": {
"r": 152,
"g": 173,
"b": 31
},
"hsl": {
"h": 68.873,
"s": 69.608,
"l": 40
},
"oklch": {
"l": 0.70732,
"c": 0.15651,
"h": 118.4
},
"luminance": 0.36661
}Semantic roles & 50–950 ramp
primary
#98AD1F
secondary
#6F60C8
accent
#3BEC56
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A