#98B671#98B671

#98B671 is a light, moderate yellow-green. Relative luminance 0.413; OKLCH L 73.7% C 0.099 H 127.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#98B671
RGBrgb(152, 182, 113)
HSLhsl(86, 32%, 58%)
HSVhsv(86, 38%, 71%)
CMYKcmyk(16.5%, 0%, 37.9%, 28.6%)
CIE-LABlab(70.40, -22.22, 31.83)
CIE-LCHlch(70.40, 38.82, 124.92°)
OKLaboklab(73.7% -0.0608 0.0785)
OKLCHoklch(73.7% 0.099 127.8)
XYZxyz(32.6571, 41.3232, 21.8753)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B671 #8F71B6
analogous
#B6B171 #98B671 #75B671
triadic
#98B671 #7198B6 #B67198
tetradic
#98B671 #71B6B1 #8F71B6 #B67175
square
#98B671 #71B6B1 #8F71B6 #B67175
split-complementary
#98B671 #7175B6 #B171B6
monochromatic
#5A723B #7A9A4F #98B671 #B5CB99 #D3E0C2

Accessibility & contrast

On white

2.27
#98B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#98B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B671
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B671#FFFFFF#000000##000000
##98B6711.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAD6C
Deuteranopia (green-blind)
#B8AC75
Tritanopia (blue-blind)
#9BB0A5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b671;
/* rgb */ color: rgb(152, 182, 113);
/* oklch */ color: oklch(73.7% 0.099 127.8);
Tailwind
colors: {
  custom: {
    50: '#b7cc9a',
    500: '#98b671',
    950: '#000000',
  },
}
SCSS
$custom: #98b671;
$custom-light: #b7cc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#98b671",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 86.087,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.73704,
    "c": 0.09929,
    "h": 127.8
  },
  "luminance": 0.41324
}

Semantic roles & 50–950 ramp

primary
#98B671
secondary
#C0B4CF
accent
#60C88D
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #98B671

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

Preview Lab → · Contrast checker → · Palette generator →

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