#98C235#98C235

#98C235 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.8% C 0.170 H 125.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#98C235
RGBrgb(152, 194, 53)
HSLhsl(78, 57%, 48%)
HSVhsv(78, 73%, 76%)
CMYKcmyk(21.6%, 0%, 72.7%, 23.9%)
CIE-LABlab(73.23, -33.60, 62.36)
CIE-LCHlch(73.23, 70.84, 118.32°)
OKLaboklab(75.78% -0.0973 0.1391)
OKLCHoklch(75.78% 0.17 125)
XYZxyz(32.8835, 45.5156, 10.4204)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C235 #5F35C2
analogous
#C2A535 #98C235 #52C235
triadic
#98C235 #3598C2 #C23598
tetradic
#98C235 #35C2A5 #5F35C2 #C23552
square
#98C235 #35C2A5 #5F35C2 #C23552
split-complementary
#98C235 #3552C2 #A535C2
monochromatic
#4D621B #729228 #98C235 #B1D460 #C9E191

Accessibility & contrast

On white

2.08
#98C235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#98C235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C235
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C235#FFFFFF#000000##000000
##98C2351.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB51A
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#9FB9A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c235;
/* rgb */ color: rgb(152, 194, 53);
/* oklch */ color: oklch(75.8% 0.170 125.0);
Tailwind
colors: {
  custom: {
    50: '#bad476',
    500: '#98c235',
    950: '#000000',
  },
}
SCSS
$custom: #98c235;
$custom-light: #bad476;
$custom-dark: #000000;
JSON
{
  "hex": "#98c235",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 77.872,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7578,
    "c": 0.16976,
    "h": 125
  },
  "luminance": 0.45516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C235

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

Preview Lab → · Contrast checker → · Palette generator →

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