#98AC22#98AC22

#98AC22 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.154 H 118.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#98AC22
RGBrgb(152, 172, 34)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(11.6%, 0%, 80.2%, 32.5%)
CIE-LABlab(66.75, -24.01, 62.38)
CIE-LCHlch(66.75, 66.84, 111.05°)
OKLaboklab(70.51% -0.0725 0.1359)
OKLCHoklch(70.51% 0.154 118.1)
XYZxyz(27.9908, 36.2962, 7.0444)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC22 #3622AC
analogous
#AC7B22 #98AC22 #53AC22
triadic
#98AC22 #2298AC #AC2298
tetradic
#98AC22 #22AC7B #3622AC #AC2253
square
#98AC22 #22AC7B #3622AC #AC2253
split-complementary
#98AC22 #2253AC #7B22AC
monochromatic
#3E460E #6B7918 #98AC22 #BFD734 #CFE167

Accessibility & contrast

On white

2.54
#98AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#98AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC22
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC22#FFFFFF#000000##000000
##98AC221.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac22;
/* rgb */ color: rgb(152, 172, 34);
/* oklch */ color: oklch(70.5% 0.154 118.1);
Tailwind
colors: {
  custom: {
    50: '#bac46a',
    500: '#98ac22',
    950: '#000000',
  },
}
SCSS
$custom: #98ac22;
$custom-light: #bac46a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac22",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 68.696,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.15407,
    "h": 118.1
  },
  "luminance": 0.36296
}

Semantic roles & 50–950 ramp

primary
#98AC22
secondary
#7263C7
accent
#3EEA57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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