#98B357#98B357

#98B357 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.6% C 0.123 H 123.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#98B357
RGBrgb(152, 179, 87)
HSLhsl(78, 38%, 52%)
HSVhsv(78, 51%, 70%)
CMYKcmyk(15.1%, 0%, 51.4%, 29.8%)
CIE-LABlab(69.19, -23.79, 43.49)
CIE-LCHlch(69.19, 49.57, 118.68°)
OKLaboklab(72.61% -0.067 0.1032)
OKLCHoklch(72.61% 0.123 123)
XYZxyz(30.7894, 39.6036, 15.0372)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B357 #7257B3
analogous
#B3A057 #98B357 #6AB357
triadic
#98B357 #5798B3 #B35798
tetradic
#98B357 #57B3A0 #7257B3 #B3576A
square
#98B357 #57B3A0 #7257B3 #B3576A
split-complementary
#98B357 #576AB3 #A057B3
monochromatic
#53632D #768D40 #98B357 #B2C681 #CCD9AB

Accessibility & contrast

On white

2.35
#98B357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#98B357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B357
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B357#FFFFFF#000000##000000
##98B3571.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4F
Deuteranopia (green-blind)
#B8A95C
Tritanopia (blue-blind)
#9EAB9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b357;
/* rgb */ color: rgb(152, 179, 87);
/* oklch */ color: oklch(72.6% 0.123 123.0);
Tailwind
colors: {
  custom: {
    50: '#b8c989',
    500: '#98b357',
    950: '#000000',
  },
}
SCSS
$custom: #98b357;
$custom-light: #b8c989;
$custom-dark: #000000;
JSON
{
  "hex": "#98b357",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 87
  },
  "hsl": {
    "h": 77.609,
    "s": 37.705,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72612,
    "c": 0.12304,
    "h": 123
  },
  "luminance": 0.39604
}

Semantic roles & 50–950 ramp

primary
#98B357
secondary
#AB9FC7
accent
#5ACE7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #98B357

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

Preview Lab → · Contrast checker → · Palette generator →

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