#98AA24#98AA24

#98AA24 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.151 H 117.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98AA24
RGBrgb(152, 170, 36)
HSLhsl(68, 65%, 40%)
HSVhsv(68, 79%, 67%)
CMYKcmyk(10.6%, 0%, 78.8%, 33.3%)
CIE-LABlab(66.18, -22.94, 61.28)
CIE-LCHlch(66.18, 65.43, 110.52°)
OKLaboklab(70.06% -0.0694 0.134)
OKLCHoklch(70.06% 0.151 117.4)
XYZxyz(27.6428, 35.5525, 7.0748)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA24 #3624AA
analogous
#AA7924 #98AA24 #55AA24
triadic
#98AA24 #2498AA #AA2498
tetradic
#98AA24 #24AA79 #3624AA #AA2455
square
#98AA24 #24AA79 #3624AA #AA2455
split-complementary
#98AA24 #2455AA #7924AA
monochromatic
#3E450F #6B7719 #98AA24 #BFD537 #CFDF69

Accessibility & contrast

On white

2.59
#98AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#98AA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA24
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA24#FFFFFF#000000##000000
##98AA241.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#A2A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa24;
/* rgb */ color: rgb(152, 170, 36);
/* oklch */ color: oklch(70.1% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#bac36b',
    500: '#98aa24',
    950: '#000000',
  },
}
SCSS
$custom: #98aa24;
$custom-light: #bac36b;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa24",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 68.06,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.15088,
    "h": 117.4
  },
  "luminance": 0.35552
}

Semantic roles & 50–950 ramp

primary
#98AA24
secondary
#7265C5
accent
#40E856
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA24

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

Preview Lab → · Contrast checker → · Palette generator →

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