#98B040#98B040

#98B040 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.7% C 0.140 H 120.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#98B040
RGBrgb(152, 176, 64)
HSLhsl(73, 47%, 47%)
HSVhsv(73, 64%, 69%)
CMYKcmyk(13.6%, 0%, 63.6%, 31%)
CIE-LABlab(68.09, -24.32, 52.82)
CIE-LCHlch(68.09, 58.15, 114.72°)
OKLaboklab(71.66% -0.0707 0.1207)
OKLCHoklch(71.66% 0.14 120.4)
XYZxyz(29.4001, 38.0963, 10.6540)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B040 #5840B0
analogous
#B09040 #98B040 #60B040
triadic
#98B040 #4098B0 #B04098
tetradic
#98B040 #40B090 #5840B0 #B04060
square
#98B040 #40B090 #5840B0 #B04060
split-complementary
#98B040 #4060B0 #9040B0
monochromatic
#4A561F #718330 #98B040 #B2C766 #C9D893

Accessibility & contrast

On white

2.44
#98B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#98B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B040
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B040#FFFFFF#000000##000000
##98B0401.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#A0A799
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b040;
/* rgb */ color: rgb(152, 176, 64);
/* oklch */ color: oklch(71.7% 0.140 120.4);
Tailwind
colors: {
  custom: {
    50: '#b9c77a',
    500: '#98b040',
    950: '#000000',
  },
}
SCSS
$custom: #98b040;
$custom-light: #b9c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#98b040",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 72.857,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.13985,
    "h": 120.4
  },
  "luminance": 0.38096
}

Semantic roles & 50–950 ramp

primary
#98B040
secondary
#9589C3
accent
#51D66E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B040

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

Preview Lab → · Contrast checker → · Palette generator →

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