#98AB22#98AB22

#98AB22 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.153 H 117.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#98AB22
RGBrgb(152, 171, 34)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 67%)
CMYKcmyk(11.1%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.46, -23.51, 62.12)
CIE-LCHlch(66.46, 66.42, 110.73°)
OKLaboklab(70.28% -0.0711 0.1354)
OKLCHoklch(70.28% 0.153 117.7)
XYZxyz(27.8012, 35.9170, 6.9812)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB22 #3522AB
analogous
#AB7922 #98AB22 #54AB22
triadic
#98AB22 #2298AB #AB2298
tetradic
#98AB22 #22AB79 #3522AB #AB2254
square
#98AB22 #22AB79 #3522AB #AB2254
split-complementary
#98AB22 #2254AB #7922AB
monochromatic
#3D450E #6B7818 #98AB22 #C0D734 #D0E167

Accessibility & contrast

On white

2.57
#98AB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#98AB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB22
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB22#FFFFFF#000000##000000
##98AB221.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab22;
/* rgb */ color: rgb(152, 171, 34);
/* oklch */ color: oklch(70.3% 0.153 117.7);
Tailwind
colors: {
  custom: {
    50: '#bac36a',
    500: '#98ab22',
    950: '#000000',
  },
}
SCSS
$custom: #98ab22;
$custom-light: #bac36a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab22",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 68.321,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.15295,
    "h": 117.7
  },
  "luminance": 0.35917
}

Semantic roles & 50–950 ramp

primary
#98AB22
secondary
#7063C6
accent
#3EEA56
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AB22

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

Preview Lab → · Contrast checker → · Palette generator →

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