#98AA22#98AA22

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

Color values

HEX#98AA22
RGBrgb(152, 170, 34)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 67%)
CMYKcmyk(10.6%, 0%, 80%, 33.3%)
CIE-LABlab(66.17, -23.02, 61.86)
CIE-LCHlch(66.17, 66.00, 110.41°)
OKLaboklab(70.05% -0.0698 0.1349)
OKLCHoklch(70.05% 0.152 117.4)
XYZxyz(27.6131, 35.5407, 6.9185)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA22 #3422AA
analogous
#AA7822 #98AA22 #54AA22
triadic
#98AA22 #2298AA #AA2298
tetradic
#98AA22 #22AA78 #3422AA #AA2254
square
#98AA22 #22AA78 #3422AA #AA2254
split-complementary
#98AA22 #2254AA #7822AA
monochromatic
#3D440E #6A7718 #98AA22 #C1D633 #D0E066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AA22#FFFFFF#000000##000000
##98AA221.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)
#B4A230
Tritanopia (blue-blind)
#A2A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa22;
/* rgb */ color: rgb(152, 170, 34);
/* oklch */ color: oklch(70.0% 0.152 117.4);
Tailwind
colors: {
  custom: {
    50: '#bac36a',
    500: '#98aa22',
    950: '#000000',
  },
}
SCSS
$custom: #98aa22;
$custom-light: #bac36a;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa22",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 67.941,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70048,
    "c": 0.15183,
    "h": 117.4
  },
  "luminance": 0.3554
}

Semantic roles & 50–950 ramp

primary
#98AA22
secondary
#6F62C6
accent
#3EEA55
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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