#98C040#98C040

#98C040 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.4% C 0.160 H 125.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#98C040
RGBrgb(152, 192, 64)
HSLhsl(79, 50%, 50%)
HSVhsv(79, 67%, 75%)
CMYKcmyk(20.8%, 0%, 66.7%, 24.7%)
CIE-LABlab(72.72, -31.99, 57.72)
CIE-LCHlch(72.72, 65.99, 119.00°)
OKLaboklab(75.39% -0.0919 0.131)
OKLCHoklch(75.39% 0.16 125.1)
XYZxyz(32.7241, 44.7445, 11.7620)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C040 #6840C0
analogous
#C0A840 #98C040 #58C040
triadic
#98C040 #4098C0 #C04098
tetradic
#98C040 #40C0A8 #6840C0 #C04058
square
#98C040 #40C0A8 #6840C0 #C04058
split-complementary
#98C040 #4058C0 #A840C0
monochromatic
#4F6421 #749230 #98C040 #B1CF6E #CADE9C

Accessibility & contrast

On white

2.11
#98C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#98C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C040
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C040#FFFFFF#000000##000000
##98C0401.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42E
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#9FB7A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c040;
/* rgb */ color: rgb(152, 192, 64);
/* oklch */ color: oklch(75.4% 0.160 125.1);
Tailwind
colors: {
  custom: {
    50: '#b9d37b',
    500: '#98c040',
    950: '#000000',
  },
}
SCSS
$custom: #98c040;
$custom-light: #b9d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#98c040",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 78.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75394,
    "c": 0.16003,
    "h": 125.1
  },
  "luminance": 0.44745
}

Semantic roles & 50–950 ramp

primary
#98C040
secondary
#A391CB
accent
#4EDA7A
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98C040

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

Preview Lab → · Contrast checker → · Palette generator →

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