#98C042#98C042

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

Color values

HEX#98C042
RGBrgb(152, 192, 66)
HSLhsl(79, 50%, 51%)
HSVhsv(79, 66%, 75%)
CMYKcmyk(20.8%, 0%, 65.6%, 24.7%)
CIE-LABlab(72.74, -31.85, 56.93)
CIE-LCHlch(72.74, 65.23, 119.22°)
OKLaboklab(75.41% -0.0914 0.1296)
OKLCHoklch(75.41% 0.159 125.2)
XYZxyz(32.7821, 44.7677, 12.0671)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C042 #6A42C0
analogous
#C0A942 #98C042 #59C042
triadic
#98C042 #4298C0 #C04298
tetradic
#98C042 #42C0A9 #6A42C0 #C04259
square
#98C042 #42C0A9 #6A42C0 #C04259
split-complementary
#98C042 #4259C0 #A942C0
monochromatic
#506622 #749431 #98C042 #B1CF70 #CADF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C042#FFFFFF#000000##000000
##98C0421.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)
#CAB431
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#9EB7A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c042;
/* rgb */ color: rgb(152, 192, 66);
/* oklch */ color: oklch(75.4% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#b9d37d',
    500: '#98c042',
    950: '#000000',
  },
}
SCSS
$custom: #98c042;
$custom-light: #b9d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#98c042",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 79.048,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75411,
    "c": 0.15857,
    "h": 125.2
  },
  "luminance": 0.44768
}

Semantic roles & 50–950 ramp

primary
#98C042
secondary
#A593CB
accent
#4EDA7A
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98C042

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

Preview Lab → · Contrast checker → · Palette generator →

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