#98AE40#98AE40

#98AE40 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.2% C 0.137 H 119.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#98AE40
RGBrgb(152, 174, 64)
HSLhsl(72, 46%, 47%)
HSVhsv(72, 63%, 68%)
CMYKcmyk(12.6%, 0%, 63.2%, 31.8%)
CIE-LABlab(67.51, -23.33, 52.21)
CIE-LCHlch(67.51, 57.18, 114.08°)
OKLaboklab(71.19% -0.0679 0.1194)
OKLCHoklch(71.19% 0.137 119.6)
XYZxyz(29.0108, 37.3178, 10.5242)
Luminance0.3732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE40 #5640AE
analogous
#AE8D40 #98AE40 #61AE40
triadic
#98AE40 #4098AE #AE4098
tetradic
#98AE40 #40AE8D #5640AE #AE4061
square
#98AE40 #40AE8D #5640AE #AE4061
split-complementary
#98AE40 #4061AE #8D40AE
monochromatic
#4A551F #718130 #98AE40 #B3C665 #C9D792

Accessibility & contrast

On white

2.48
#98AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#98AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE40
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE40#FFFFFF#000000##000000
##98AE401.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B6A548
Tritanopia (blue-blind)
#A0A597
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae40;
/* rgb */ color: rgb(152, 174, 64);
/* oklch */ color: oklch(71.2% 0.137 119.6);
Tailwind
colors: {
  custom: {
    50: '#b9c67a',
    500: '#98ae40',
    950: '#000000',
  },
}
SCSS
$custom: #98ae40;
$custom-light: #b9c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae40",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 72,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71194,
    "c": 0.13734,
    "h": 119.6
  },
  "luminance": 0.37318
}

Semantic roles & 50–950 ramp

primary
#98AE40
secondary
#9388C2
accent
#52D66C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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