#98B416#98B416

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

Color values

HEX#98B416
RGBrgb(152, 180, 22)
HSLhsl(71, 78%, 40%)
HSVhsv(71, 88%, 71%)
CMYKcmyk(15.6%, 0%, 87.8%, 29.4%)
CIE-LABlab(69.02, -28.27, 67.20)
CIE-LCHlch(69.02, 72.91, 112.81°)
OKLaboklab(72.34% -0.0849 0.1444)
OKLCHoklch(72.34% 0.168 120.4)
XYZxyz(29.4156, 39.3759, 6.8096)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B416 #3216B4
analogous
#B48116 #98B416 #49B416
triadic
#98B416 #1698B4 #B41698
tetradic
#98B416 #16B481 #3216B4 #B41649
square
#98B416 #16B481 #3216B4 #B41649
split-complementary
#98B416 #1649B4 #8116B4
monochromatic
#3C4709 #6A7D0F #98B416 #C2E423 #D1EB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B416#FFFFFF#000000##000000
##98B4161.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: #98b416;
/* rgb */ color: rgb(152, 180, 22);
/* oklch */ color: oklch(72.3% 0.168 120.4);
Tailwind
colors: {
  custom: {
    50: '#bbca67',
    500: '#98b416',
    950: '#000000',
  },
}
SCSS
$custom: #98b416;
$custom-light: #bbca67;
$custom-dark: #000000;
JSON
{
  "hex": "#98b416",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 70.633,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.16751,
    "h": 120.4
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#98B416
secondary
#6D58CE
accent
#33F555
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #98B416

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

Preview Lab → · Contrast checker → · Palette generator →

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