#98C335#98C335

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

Color values

HEX#98C335
RGBrgb(152, 195, 53)
HSLhsl(78, 57%, 49%)
HSVhsv(78, 73%, 76%)
CMYKcmyk(22.1%, 0%, 72.8%, 23.5%)
CIE-LABlab(73.52, -34.07, 62.65)
CIE-LCHlch(73.52, 71.31, 118.54°)
OKLaboklab(76.02% -0.0986 0.1397)
OKLCHoklch(76.02% 0.171 125.2)
XYZxyz(33.1068, 45.9622, 10.4949)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C335 #6035C3
analogous
#C3A735 #98C335 #51C335
triadic
#98C335 #3598C3 #C33598
tetradic
#98C335 #35C3A7 #6035C3 #C33551
square
#98C335 #35C3A7 #6035C3 #C33551
split-complementary
#98C335 #3551C3 #A735C3
monochromatic
#4D631B #729328 #98C335 #B1D461 #C9E191

Accessibility & contrast

On white

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

On black

10.19
#98C335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C335
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C335#FFFFFF#000000##000000
##98C3351.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98c335;
/* rgb */ color: rgb(152, 195, 53);
/* oklch */ color: oklch(76.0% 0.171 125.2);
Tailwind
colors: {
  custom: {
    50: '#bad576',
    500: '#98c335',
    950: '#000000',
  },
}
SCSS
$custom: #98c335;
$custom-light: #bad576;
$custom-dark: #000000;
JSON
{
  "hex": "#98c335",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 53
  },
  "hsl": {
    "h": 78.169,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76016,
    "c": 0.17098,
    "h": 125.2
  },
  "luminance": 0.45963
}

Semantic roles & 50–950 ramp

primary
#98C335
secondary
#9C88CC
accent
#47E176
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C335

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

Preview Lab → · Contrast checker → · Palette generator →

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