#98B15A#98B15A

#98B15A is a light, moderate yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.117 H 122.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#98B15A
RGBrgb(152, 177, 90)
HSLhsl(77, 36%, 52%)
HSVhsv(77, 49%, 69%)
CMYKcmyk(14.1%, 0%, 49.2%, 30.6%)
CIE-LABlab(68.65, -22.49, 41.37)
CIE-LCHlch(68.65, 47.09, 118.52°)
OKLaboklab(72.19% -0.0631 0.0988)
OKLCHoklch(72.19% 0.117 122.6)
XYZxyz(30.5166, 38.8578, 15.5635)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B15A #735AB1
analogous
#B19E5A #98B15A #6DB15A
triadic
#98B15A #5A98B1 #B15A98
tetradic
#98B15A #5AB19E #735AB1 #B15A6D
square
#98B15A #5AB19E #735AB1 #B15A6D
split-complementary
#98B15A #5A6DB1 #9E5AB1
monochromatic
#53622E #778C42 #98B15A #B2C584 #CCD8AD

Accessibility & contrast

On white

2.39
#98B15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#98B15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B15A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B15A#FFFFFF#000000##000000
##98B15A1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA852
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#9EAA9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b15a;
/* rgb */ color: rgb(152, 177, 90);
/* oklch */ color: oklch(72.2% 0.117 122.6);
Tailwind
colors: {
  custom: {
    50: '#b8c88b',
    500: '#98b15a',
    950: '#000000',
  },
}
SCSS
$custom: #98b15a;
$custom-light: #b8c88b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b15a",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 90
  },
  "hsl": {
    "h": 77.241,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.11721,
    "h": 122.6
  },
  "luminance": 0.38858
}

Semantic roles & 50–950 ramp

primary
#98B15A
secondary
#ABA0C6
accent
#5CCC7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #98B15A

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

Preview Lab → · Contrast checker → · Palette generator →

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