#98B418#98B418

#98B418 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#98B418
RGBrgb(152, 180, 24)
HSLhsl(71, 76%, 40%)
HSVhsv(71, 87%, 71%)
CMYKcmyk(15.6%, 0%, 86.7%, 29.4%)
CIE-LABlab(69.03, -28.22, 66.81)
CIE-LCHlch(69.03, 72.52, 112.90°)
OKLaboklab(72.34% -0.0846 0.1439)
OKLCHoklch(72.34% 0.167 120.5)
XYZxyz(29.4356, 39.3839, 6.9151)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B418 #3418B4
analogous
#B48218 #98B418 #4AB418
triadic
#98B418 #1898B4 #B41898
tetradic
#98B418 #18B482 #3418B4 #B4184A
square
#98B418 #18B482 #3418B4 #B4184A
split-complementary
#98B418 #184AB4 #8218B4
monochromatic
#3D480A #6A7E11 #98B418 #C1E227 #D0E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B418#FFFFFF#000000##000000
##98B4181.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: #98b418;
/* rgb */ color: rgb(152, 180, 24);
/* oklch */ color: oklch(72.3% 0.167 120.5);
Tailwind
colors: {
  custom: {
    50: '#bbca68',
    500: '#98b418',
    950: '#000000',
  },
}
SCSS
$custom: #98b418;
$custom-light: #bbca68;
$custom-dark: #000000;
JSON
{
  "hex": "#98b418",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 70.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.1669,
    "h": 120.5
  },
  "luminance": 0.39384
}

Semantic roles & 50–950 ramp

primary
#98B418
secondary
#6F5BCD
accent
#35F357
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B418

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

Preview Lab → · Contrast checker → · Palette generator →

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