#98AD22#98AD22

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

Color values

HEX#98AD22
RGBrgb(152, 173, 34)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 80%, 68%)
CMYKcmyk(12.1%, 0%, 80.3%, 32.2%)
CIE-LABlab(67.03, -24.50, 62.63)
CIE-LCHlch(67.03, 67.25, 111.36°)
OKLaboklab(70.75% -0.0738 0.1365)
OKLCHoklch(70.75% 0.155 118.4)
XYZxyz(28.1819, 36.6783, 7.1081)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD22 #3722AD
analogous
#AD7C22 #98AD22 #52AD22
triadic
#98AD22 #2298AD #AD2298
tetradic
#98AD22 #22AD7C #3722AD #AD2252
square
#98AD22 #22AD7C #3722AD #AD2252
split-complementary
#98AD22 #2252AD #7C22AD
monochromatic
#3E470E #6B7A18 #98AD22 #BFD735 #CFE168

Accessibility & contrast

On white

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

On black

8.34
#98AD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD22
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD22#FFFFFF#000000##000000
##98AD221.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ad22;
/* rgb */ color: rgb(152, 173, 34);
/* oklch */ color: oklch(70.7% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#bac56b',
    500: '#98ad22',
    950: '#000000',
  },
}
SCSS
$custom: #98ad22;
$custom-light: #bac56b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad22",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 34
  },
  "hsl": {
    "h": 69.065,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.15519,
    "h": 118.4
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

primary
#98AD22
secondary
#7364C7
accent
#3EEA58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AD22

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

Preview Lab → · Contrast checker → · Palette generator →

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