#98B419#98B419

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

Color values

HEX#98B419
RGBrgb(152, 180, 25)
HSLhsl(71, 76%, 40%)
HSVhsv(71, 86%, 71%)
CMYKcmyk(15.6%, 0%, 86.1%, 29.4%)
CIE-LABlab(69.03, -28.19, 66.60)
CIE-LCHlch(69.03, 72.32, 112.94°)
OKLaboklab(72.35% -0.0845 0.1436)
OKLCHoklch(72.35% 0.167 120.5)
XYZxyz(29.4462, 39.3882, 6.9709)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B419 #3519B4
analogous
#B48319 #98B419 #4AB419
triadic
#98B419 #1998B4 #B41998
tetradic
#98B419 #19B483 #3519B4 #B4194A
square
#98B419 #19B483 #3519B4 #B4194A
split-complementary
#98B419 #194AB4 #8319B4
monochromatic
#3D490A #6B7E12 #98B419 #C0E129 #D0E95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B419#FFFFFF#000000##000000
##98B4191.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)
#BDA92C
Tritanopia (blue-blind)
#A1AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b419;
/* rgb */ color: rgb(152, 180, 25);
/* oklch */ color: oklch(72.3% 0.167 120.5);
Tailwind
colors: {
  custom: {
    50: '#baca68',
    500: '#98b419',
    950: '#000000',
  },
}
SCSS
$custom: #98b419;
$custom-light: #baca68;
$custom-dark: #000000;
JSON
{
  "hex": "#98b419",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 25
  },
  "hsl": {
    "h": 70.839,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.16657,
    "h": 120.5
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

primary
#98B419
secondary
#705CCD
accent
#36F258
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B419

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

Preview Lab → · Contrast checker → · Palette generator →

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