#98C338#98C338

#98C338 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.0% C 0.169 H 125.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#98C338
RGBrgb(152, 195, 56)
HSLhsl(79, 55%, 49%)
HSVhsv(79, 71%, 76%)
CMYKcmyk(22.1%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.54, -33.89, 61.60)
CIE-LCHlch(73.54, 70.31, 118.82°)
OKLaboklab(76.04% -0.0979 0.138)
OKLCHoklch(76.04% 0.169 125.4)
XYZxyz(33.1780, 45.9907, 10.8698)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C338 #6338C3
analogous
#C3A938 #98C338 #53C338
triadic
#98C338 #3898C3 #C33898
tetradic
#98C338 #38C3A9 #6338C3 #C33853
square
#98C338 #38C3A9 #6338C3 #C33853
split-complementary
#98C338 #3853C3 #A938C3
monochromatic
#4E641D #73932A #98C338 #B1D365 #C9E195

Accessibility & contrast

On white

2.06
#98C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#98C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C338
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C338#FFFFFF#000000##000000
##98C3381.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#9FBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c338;
/* rgb */ color: rgb(152, 195, 56);
/* oklch */ color: oklch(76.0% 0.169 125.4);
Tailwind
colors: {
  custom: {
    50: '#bad577',
    500: '#98c338',
    950: '#000000',
  },
}
SCSS
$custom: #98c338;
$custom-light: #bad577;
$custom-dark: #000000;
JSON
{
  "hex": "#98c338",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 78.561,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76037,
    "c": 0.16915,
    "h": 125.4
  },
  "luminance": 0.45991
}

Semantic roles & 50–950 ramp

primary
#98C338
secondary
#9F8BCC
accent
#49DF77
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #98C338

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

Preview Lab → · Contrast checker → · Palette generator →

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