#98AD20#98AD20

#98AD20 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.7% C 0.156 H 118.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#98AD20
RGBrgb(152, 173, 32)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 82%, 68%)
CMYKcmyk(12.1%, 0%, 81.5%, 32.2%)
CIE-LABlab(67.03, -24.57, 63.18)
CIE-LCHlch(67.03, 67.79, 111.25°)
OKLaboklab(70.74% -0.0742 0.1373)
OKLCHoklch(70.74% 0.156 118.4)
XYZxyz(28.1539, 36.6671, 6.9605)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD20 #3520AD
analogous
#AD7B20 #98AD20 #52AD20
triadic
#98AD20 #2098AD #AD2098
tetradic
#98AD20 #20AD7B #3520AD #AD2052
square
#98AD20 #20AD7B #3520AD #AD2052
split-complementary
#98AD20 #2052AD #7B20AD
monochromatic
#3D460D #6B7916 #98AD20 #C0D931 #D0E265

Accessibility & contrast

On white

2.52
#98AD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#98AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD20
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD20#FFFFFF#000000##000000
##98AD201.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#A2A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad20;
/* rgb */ color: rgb(152, 173, 32);
/* oklch */ color: oklch(70.7% 0.156 118.4);
Tailwind
colors: {
  custom: {
    50: '#bac56a',
    500: '#98ad20',
    950: '#000000',
  },
}
SCSS
$custom: #98ad20;
$custom-light: #bac56a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad20",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 68.936,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70737,
    "c": 0.15608,
    "h": 118.4
  },
  "luminance": 0.36667
}

Semantic roles & 50–950 ramp

primary
#98AD20
secondary
#7061C8
accent
#3CEC56
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AD20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#98AD20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva