#98AD1C#98AD1C
#98AD1C is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.158 H 118.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #98AD1C |
|---|---|
| RGB | rgb(152, 173, 28) |
| HSL | hsl(69, 72%, 39%) |
| HSV | hsv(69, 84%, 68%) |
| CMYK | cmyk(12.1%, 0%, 83.8%, 32.2%) |
| CIE-LAB | lab(67.01, -24.71, 64.20) |
| CIE-LCH | lch(67.01, 68.79, 111.05°) |
| OKLab | oklab(70.72% -0.0748 0.1388) |
| OKLCH | oklch(70.72% 0.158 118.3) |
| XYZ | xyz(28.1028, 36.6466, 6.6914) |
| Luminance | 0.3665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.11
Puke Green
#9AAE07
ΔE00 1.18
Pea Green
#8EAB12
ΔE00 1.92
Pea Soup Green
#94A617
ΔE00 2.03
Sickly Green
#94B21C
ΔE00 2.06
Icky Green
#8FAE22
ΔE00 2.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AD1C #311CAD
analogous
#AD7A1C #98AD1C #4FAD1C
triadic
#98AD1C #1C98AD #AD1C98
tetradic
#98AD1C #1CAD7A #311CAD #AD1C4F
square
#98AD1C #1CAD7A #311CAD #AD1C4F
split-complementary
#98AD1C #1C4FAD #7A1CAD
monochromatic
#3B440B #6A7813 #98AD1C #C3DC2A #D2E55E
Accessibility & contrast
On white
2.52
#98AD1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#98AD1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AD1C
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AD1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AD1C | 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)
#B7A42C
Tritanopia (blue-blind)
#A2A393
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #98ad1c; /* rgb */ color: rgb(152, 173, 28); /* oklch */ color: oklch(70.7% 0.158 118.3);
Tailwind
colors: {
custom: {
50: '#bac568',
500: '#98ad1c',
950: '#000000',
},
}SCSS
$custom: #98ad1c; $custom-light: #bac568; $custom-dark: #000000;
JSON
{
"hex": "#98ad1c",
"rgb": {
"r": 152,
"g": 173,
"b": 28
},
"hsl": {
"h": 68.69,
"s": 72.139,
"l": 39.412
},
"oklch": {
"l": 0.7072,
"c": 0.15771,
"h": 118.3
},
"luminance": 0.36646
}Semantic roles & 50–950 ramp
primary
#98AD1C
secondary
#6B5CC9
accent
#39EF53
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A