#98C679#98C679

#98C679 is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 77.5% C 0.115 H 133.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#98C679
RGBrgb(152, 198, 121)
HSLhsl(96, 40%, 63%)
HSVhsv(96, 39%, 78%)
CMYKcmyk(23.2%, 0%, 38.9%, 22.4%)
CIE-LABlab(75.10, -28.95, 33.78)
CIE-LCHlch(75.10, 44.49, 130.59°)
OKLaboklab(77.53% -0.0792 0.0833)
OKLCHoklch(77.53% 0.115 133.6)
XYZxyz(36.5934, 48.4432, 25.5079)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C679 #A779C6
analogous
#BFC679 #98C679 #79C680
triadic
#98C679 #7998C6 #C67998
tetradic
#98C679 #79BFC6 #A779C6 #C68079
square
#98C679 #79BFC6 #A779C6 #C68079
split-complementary
#98C679 #8079C6 #C679BF
monochromatic
#5B8A3B #77B44E #98C679 #B9D8A4 #DAEBCF

Accessibility & contrast

On white

1.96
#98C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#98C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C679
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C679#FFFFFF#000000##000000
##98C6791.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB73
Deuteranopia (green-blind)
#C5B87D
Tritanopia (blue-blind)
#99C0B3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #98c679;
/* rgb */ color: rgb(152, 198, 121);
/* oklch */ color: oklch(77.5% 0.115 133.6);
Tailwind
colors: {
  custom: {
    50: '#b8d7a0',
    500: '#98c679',
    950: '#000000',
  },
}
SCSS
$custom: #98c679;
$custom-light: #b8d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#98c679",
  "rgb": {
    "r": 152,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 95.844,
    "s": 40.314,
    "l": 62.549
  },
  "oklch": {
    "l": 0.77526,
    "c": 0.11496,
    "h": 133.6
  },
  "luminance": 0.48444
}

Semantic roles & 50–950 ramp

primary
#98C679
secondary
#D0BFDB
accent
#32B37F
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#11140F
muted
#80837E

Preview Lab

Preview with #98C679

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

Preview Lab → · Contrast checker → · Palette generator →

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