#98A87F#98A87F

#98A87F is a light, moderate yellow-green. Relative luminance 0.362; OKLCH L 70.8% C 0.060 H 125.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#98A87F
RGBrgb(152, 168, 127)
HSLhsl(83, 19%, 58%)
HSVhsv(83, 24%, 66%)
CMYKcmyk(9.5%, 0%, 24.4%, 34.1%)
CIE-LABlab(66.68, -13.02, 19.37)
CIE-LCHlch(66.68, 23.34, 123.92°)
OKLaboklab(70.81% -0.0347 0.0492)
OKLCHoklch(70.81% 0.06 125.2)
XYZxyz(30.7818, 36.2129, 25.4427)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A87F #8F7FA8
analogous
#A8A47F #98A87F #83A87F
triadic
#98A87F #7F98A8 #A87F98
tetradic
#98A87F #7FA8A4 #8F7FA8 #A87F83
square
#98A87F #7FA8A4 #8F7FA8 #A87F83
split-complementary
#98A87F #7F83A8 #A47FA8
monochromatic
#5A6746 #7A8B5F #98A87F #B5C1A3 #D3DAC8

Accessibility & contrast

On white

2.55
#98A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#98A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A87F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A87F#FFFFFF#000000##000000
##98A87F1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37C
Deuteranopia (green-blind)
#AAA281
Tritanopia (blue-blind)
#9BA49D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98a87f;
/* rgb */ color: rgb(152, 168, 127);
/* oklch */ color: oklch(70.8% 0.060 125.2);
Tailwind
colors: {
  custom: {
    50: '#b6c1a4',
    500: '#98a87f',
    950: '#000000',
  },
}
SCSS
$custom: #98a87f;
$custom-light: #b6c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#98a87f",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 83.415,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.0602,
    "h": 125.2
  },
  "luminance": 0.36213
}

Semantic roles & 50–950 ramp

primary
#98A87F
secondary
#C0B9CA
accent
#6CBC8B
background
#FBFBFA
surface
#F6F7F4
border
#D0D0CE
text
#11120F
muted
#80817F

Preview Lab

Preview with #98A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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