#98D75C#98D75C

#98D75C is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.1% C 0.168 H 131.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#98D75C
RGBrgb(152, 215, 92)
HSLhsl(91, 61%, 60%)
HSVhsv(91, 57%, 84%)
CMYKcmyk(29.3%, 0%, 57.2%, 15.7%)
CIE-LABlab(79.64, -40.13, 53.38)
CIE-LCHlch(79.64, 66.78, 126.93°)
OKLaboklab(81.08% -0.112 0.1251)
OKLCHoklch(81.08% 0.168 131.8)
XYZxyz(39.1806, 56.0478, 18.8771)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98D75C #9B5CD7
analogous
#D5D75C #98D75C #5CD75E
triadic
#98D75C #5C98D7 #D75C98
tetradic
#98D75C #5CD5D7 #9B5CD7 #D75E5C
square
#98D75C #5CD5D7 #9B5CD7 #D75E5C
split-complementary
#98D75C #5E5CD7 #D75CD5
monochromatic
#5B9424 #79C530 #98D75C #B7E38D #D6EFBE

Accessibility & contrast

On white

1.72
#98D75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#98D75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98D75C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98D75C#FFFFFF#000000##000000
##98D75C1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC94F
Deuteranopia (green-blind)
#D6C465
Tritanopia (blue-blind)
#9ACFBC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #98d75c;
/* rgb */ color: rgb(152, 215, 92);
/* oklch */ color: oklch(81.1% 0.168 131.8);
Tailwind
colors: {
  custom: {
    50: '#bae38e',
    500: '#98d75c',
    950: '#000000',
  },
}
SCSS
$custom: #98d75c;
$custom-light: #bae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#98d75c",
  "rgb": {
    "r": 152,
    "g": 215,
    "b": 92
  },
  "hsl": {
    "h": 90.732,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81079,
    "c": 0.16787,
    "h": 131.8
  },
  "luminance": 0.56049
}

Semantic roles & 50–950 ramp

primary
#98D75C
secondary
#6D3E99
accent
#1DC875
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #98D75C

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

Preview Lab → · Contrast checker → · Palette generator →

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