#98B540#98B540

#98B540 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.8% C 0.146 H 122.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#98B540
RGBrgb(152, 181, 64)
HSLhsl(75, 48%, 48%)
HSVhsv(75, 65%, 71%)
CMYKcmyk(16%, 0%, 64.6%, 29%)
CIE-LABlab(69.54, -26.76, 54.36)
CIE-LCHlch(69.54, 60.59, 116.20°)
OKLaboklab(72.82% -0.0775 0.1239)
OKLCHoklch(72.82% 0.146 122)
XYZxyz(30.3985, 40.0933, 10.9868)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B540 #5D40B5
analogous
#B59740 #98B540 #5DB540
triadic
#98B540 #4098B5 #B54098
tetradic
#98B540 #40B597 #5D40B5 #B5405D
square
#98B540 #40B597 #5D40B5 #B5405D
split-complementary
#98B540 #405DB5 #9740B5
monochromatic
#4C5B20 #728830 #98B540 #B2CA68 #C9DA96

Accessibility & contrast

On white

2.33
#98B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#98B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B540
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B540#FFFFFF#000000##000000
##98B5401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#A0AC9D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b540;
/* rgb */ color: rgb(152, 181, 64);
/* oklch */ color: oklch(72.8% 0.146 122.0);
Tailwind
colors: {
  custom: {
    50: '#b9cb7a',
    500: '#98b540',
    950: '#000000',
  },
}
SCSS
$custom: #98b540;
$custom-light: #b9cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98b540",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 74.872,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72821,
    "c": 0.14614,
    "h": 122
  },
  "luminance": 0.40093
}

Semantic roles & 50–950 ramp

primary
#98B540
secondary
#9A8BC5
accent
#50D772
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B540

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

Preview Lab → · Contrast checker → · Palette generator →

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