#98B417#98B417

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

Color values

HEX#98B417
RGBrgb(152, 180, 23)
HSLhsl(71, 77%, 40%)
HSVhsv(71, 87%, 71%)
CMYKcmyk(15.6%, 0%, 87.2%, 29.4%)
CIE-LABlab(69.03, -28.24, 67.01)
CIE-LCHlch(69.03, 72.72, 112.86°)
OKLaboklab(72.34% -0.0847 0.1442)
OKLCHoklch(72.34% 0.167 120.4)
XYZxyz(29.4254, 39.3799, 6.8613)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B417 #3317B4
analogous
#B48217 #98B417 #49B417
triadic
#98B417 #1798B4 #B41798
tetradic
#98B417 #17B482 #3317B4 #B41749
square
#98B417 #17B482 #3317B4 #B41749
split-complementary
#98B417 #1749B4 #8217B4
monochromatic
#3C4709 #6A7E10 #98B417 #C1E325 #D1EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #98b417;
/* rgb */ color: rgb(152, 180, 23);
/* oklch */ color: oklch(72.3% 0.167 120.4);
Tailwind
colors: {
  custom: {
    50: '#bbca68',
    500: '#98b417',
    950: '#000000',
  },
}
SCSS
$custom: #98b417;
$custom-light: #bbca68;
$custom-dark: #000000;
JSON
{
  "hex": "#98b417",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 70.701,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72339,
    "c": 0.16721,
    "h": 120.4
  },
  "luminance": 0.3938
}

Semantic roles & 50–950 ramp

primary
#98B417
secondary
#6E59CE
accent
#34F456
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #98B417

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

Preview Lab → · Contrast checker → · Palette generator →

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