#98B41A#98B41A

#98B41A is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.3% C 0.166 H 120.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#98B41A
RGBrgb(152, 180, 26)
HSLhsl(71, 75%, 40%)
HSVhsv(71, 86%, 71%)
CMYKcmyk(15.6%, 0%, 85.6%, 29.4%)
CIE-LABlab(69.03, -28.16, 66.38)
CIE-LCHlch(69.03, 72.11, 112.99°)
OKLaboklab(72.35% -0.0844 0.1432)
OKLCHoklch(72.35% 0.166 120.5)
XYZxyz(29.4572, 39.3926, 7.0288)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B41A #361AB4
analogous
#B4831A #98B41A #4BB41A
triadic
#98B41A #1A98B4 #B41A98
tetradic
#98B41A #1AB483 #361AB4 #B41A4B
square
#98B41A #1AB483 #361AB4 #B41A4B
split-complementary
#98B41A #1A4BB4 #831AB4
monochromatic
#3E490B #6B7F12 #98B41A #BFE02B #CFE860

Accessibility & contrast

On white

2.37
#98B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#98B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B41A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B41A#FFFFFF#000000##000000
##98B41A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA92D
Tritanopia (blue-blind)
#A1AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b41a;
/* rgb */ color: rgb(152, 180, 26);
/* oklch */ color: oklch(72.3% 0.166 120.5);
Tailwind
colors: {
  custom: {
    50: '#baca69',
    500: '#98b41a',
    950: '#000000',
  },
}
SCSS
$custom: #98b41a;
$custom-light: #baca69;
$custom-dark: #000000;
JSON
{
  "hex": "#98b41a",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 70.909,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72349,
    "c": 0.16624,
    "h": 120.5
  },
  "luminance": 0.39392
}

Semantic roles & 50–950 ramp

primary
#98B41A
secondary
#725DCC
accent
#36F158
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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