#98C74F#98C74F

#98C74F is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.2% C 0.157 H 127.7°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#98C74F
RGBrgb(152, 199, 79)
HSLhsl(84, 52%, 55%)
HSVhsv(84, 60%, 78%)
CMYKcmyk(23.6%, 0%, 60.3%, 22%)
CIE-LABlab(74.88, -34.08, 53.75)
CIE-LCHlch(74.88, 63.65, 122.37°)
OKLaboklab(77.18% -0.0964 0.1245)
OKLCHoklch(77.18% 0.157 127.7)
XYZxyz(34.7835, 48.0861, 14.8446)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C74F #7E4FC7
analogous
#C7BA4F #98C74F #5CC74F
triadic
#98C74F #4F98C7 #C74F98
tetradic
#98C74F #4FC7BA #7E4FC7 #C74F5C
square
#98C74F #4FC7BA #7E4FC7 #C74F5C
split-complementary
#98C74F #4F5CC7 #BA4FC7
monochromatic
#577626 #79A434 #98C74F #B3D67D #CEE5AC

Accessibility & contrast

On white

1.98
#98C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#98C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C74F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C74F#FFFFFF#000000##000000
##98C74F1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA41
Deuteranopia (green-blind)
#CAB758
Tritanopia (blue-blind)
#9DBFAD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c74f;
/* rgb */ color: rgb(152, 199, 79);
/* oklch */ color: oklch(77.2% 0.157 127.7);
Tailwind
colors: {
  custom: {
    50: '#b9d885',
    500: '#98c74f',
    950: '#000000',
  },
}
SCSS
$custom: #98c74f;
$custom-light: #b9d885;
$custom-dark: #000000;
JSON
{
  "hex": "#98c74f",
  "rgb": {
    "r": 152,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 83.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.15745,
    "h": 127.7
  },
  "luminance": 0.48087
}

Semantic roles & 50–950 ramp

primary
#98C74F
secondary
#B3A0D2
accent
#4DDB84
background
#FBFDF8
surface
#F6FAEF
border
#D0D3CA
text
#12140B
muted
#81837C

Preview Lab

Preview with #98C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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