#98C238#98C238

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

Color values

HEX#98C238
RGBrgb(152, 194, 56)
HSLhsl(78, 55%, 49%)
HSVhsv(78, 71%, 76%)
CMYKcmyk(21.6%, 0%, 71.1%, 23.9%)
CIE-LABlab(73.25, -33.43, 61.31)
CIE-LCHlch(73.25, 69.83, 118.60°)
OKLaboklab(75.8% -0.0966 0.1374)
OKLCHoklch(75.8% 0.168 125.1)
XYZxyz(32.9547, 45.5441, 10.7953)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C238 #6238C2
analogous
#C2A738 #98C238 #53C238
triadic
#98C238 #3898C2 #C23898
tetradic
#98C238 #38C2A7 #6238C2 #C23853
square
#98C238 #38C2A7 #6238C2 #C23853
split-complementary
#98C238 #3853C2 #A738C2
monochromatic
#4E631D #73932A #98C238 #B1D265 #C9E094

Accessibility & contrast

On white

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

On black

10.11
#98C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C238
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C238#FFFFFF#000000##000000
##98C2381.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98c238;
/* rgb */ color: rgb(152, 194, 56);
/* oklch */ color: oklch(75.8% 0.168 125.1);
Tailwind
colors: {
  custom: {
    50: '#bad477',
    500: '#98c238',
    950: '#000000',
  },
}
SCSS
$custom: #98c238;
$custom-light: #bad477;
$custom-dark: #000000;
JSON
{
  "hex": "#98c238",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 78.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75801,
    "c": 0.16792,
    "h": 125.1
  },
  "luminance": 0.45544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C238

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

Preview Lab → · Contrast checker → · Palette generator →

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