#98AB40#98AB40

#98AB40 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.5% C 0.134 H 118.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#98AB40
RGBrgb(152, 171, 64)
HSLhsl(71, 46%, 46%)
HSVhsv(71, 63%, 67%)
CMYKcmyk(11.1%, 0%, 62.6%, 32.9%)
CIE-LABlab(66.65, -21.84, 51.27)
CIE-LCHlch(66.65, 55.73, 113.07°)
OKLaboklab(70.5% -0.0638 0.1174)
OKLCHoklch(70.5% 0.134 118.5)
XYZxyz(28.4377, 36.1716, 10.3332)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB40 #5340AB
analogous
#AB8840 #98AB40 #62AB40
triadic
#98AB40 #4098AB #AB4098
tetradic
#98AB40 #40AB88 #5340AB #AB4062
square
#98AB40 #40AB88 #5340AB #AB4062
split-complementary
#98AB40 #4062AB #8840AB
monochromatic
#49521F #707E2F #98AB40 #B3C563 #C9D590

Accessibility & contrast

On white

2.55
#98AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#98AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB40
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB40#FFFFFF#000000##000000
##98AB401.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#A0A295
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab40;
/* rgb */ color: rgb(152, 171, 64);
/* oklch */ color: oklch(70.5% 0.134 118.5);
Tailwind
colors: {
  custom: {
    50: '#b9c47a',
    500: '#98ab40',
    950: '#000000',
  },
}
SCSS
$custom: #98ab40;
$custom-light: #b9c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab40",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 70.654,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70499,
    "c": 0.1336,
    "h": 118.5
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#98AB40
secondary
#9186C1
accent
#53D56A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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