#98A862#98A862

#98A862 is a light, moderate yellow-green. Relative luminance 0.356; OKLCH L 70.3% C 0.096 H 119.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98A862
RGBrgb(152, 168, 98)
HSLhsl(74, 29%, 52%)
HSVhsv(74, 42%, 66%)
CMYKcmyk(9.5%, 0%, 41.7%, 34.1%)
CIE-LABlab(66.18, -17.03, 34.25)
CIE-LCHlch(66.18, 38.26, 116.44°)
OKLaboklab(70.25% -0.0471 0.0834)
OKLCHoklch(70.25% 0.096 119.5)
XYZxyz(29.1562, 35.5626, 16.8812)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A862 #7262A8
analogous
#A89562 #98A862 #75A862
triadic
#98A862 #6298A8 #A86298
tetradic
#98A862 #62A895 #7262A8 #A86275
square
#98A862 #62A895 #7262A8 #A86275
split-complementary
#98A862 #6275A8 #9562A8
monochromatic
#535C33 #768449 #98A862 #B2BE89 #CCD4B1

Accessibility & contrast

On white

2.59
#98A862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#98A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A862
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A862#FFFFFF#000000##000000
##98A8621.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#AEA165
Tritanopia (blue-blind)
#9EA197
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98a862;
/* rgb */ color: rgb(152, 168, 98);
/* oklch */ color: oklch(70.3% 0.096 119.5);
Tailwind
colors: {
  custom: {
    50: '#b7c190',
    500: '#98a862',
    950: '#000000',
  },
}
SCSS
$custom: #98a862;
$custom-light: #b7c190;
$custom-dark: #000000;
JSON
{
  "hex": "#98a862",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 73.714,
    "s": 28.689,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.09574,
    "h": 119.5
  },
  "luminance": 0.35563
}

Semantic roles & 50–950 ramp

primary
#98A862
secondary
#ABA4C2
accent
#63C579
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #98A862

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

Preview Lab → · Contrast checker → · Palette generator →

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