#98C334#98C334

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

Color values

HEX#98C334
RGBrgb(152, 195, 52)
HSLhsl(78, 58%, 48%)
HSVhsv(78, 73%, 76%)
CMYKcmyk(22.1%, 0%, 73.3%, 23.5%)
CIE-LABlab(73.52, -34.12, 62.99)
CIE-LCHlch(73.52, 71.64, 118.45°)
OKLaboklab(76.01% -0.0988 0.1402)
OKLCHoklch(76.01% 0.172 125.2)
XYZxyz(33.0841, 45.9531, 10.3750)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C334 #5F34C3
analogous
#C3A634 #98C334 #50C334
triadic
#98C334 #3498C3 #C33498
tetradic
#98C334 #34C3A6 #5F34C3 #C33450
square
#98C334 #34C3A6 #5F34C3 #C33450
split-complementary
#98C334 #3450C3 #A634C3
monochromatic
#4D621A #729327 #98C334 #B1D560 #C9E190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C334#FFFFFF#000000##000000
##98C3341.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)
#CEB617
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#9FBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c334;
/* rgb */ color: rgb(152, 195, 52);
/* oklch */ color: oklch(76.0% 0.172 125.2);
Tailwind
colors: {
  custom: {
    50: '#bad575',
    500: '#98c334',
    950: '#000000',
  },
}
SCSS
$custom: #98c334;
$custom-light: #bad575;
$custom-dark: #000000;
JSON
{
  "hex": "#98c334",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 78.042,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.17156,
    "h": 125.2
  },
  "luminance": 0.45954
}

Semantic roles & 50–950 ramp

primary
#98C334
secondary
#9C87CC
accent
#47E175
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C334

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

Preview Lab → · Contrast checker → · Palette generator →

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