#98B166#98B166

#98B166 is a light, moderate yellow-green. Relative luminance 0.391; OKLCH L 72.4% C 0.104 H 124.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#98B166
RGBrgb(152, 177, 102)
HSLhsl(80, 32%, 55%)
HSVhsv(80, 42%, 69%)
CMYKcmyk(14.1%, 0%, 42.4%, 30.6%)
CIE-LABlab(68.81, -21.12, 35.50)
CIE-LCHlch(68.81, 41.31, 120.75°)
OKLaboklab(72.37% -0.0583 0.0864)
OKLCHoklch(72.37% 0.104 124)
XYZxyz(31.0692, 39.0788, 18.4740)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B166 #7F66B1
analogous
#B1A566 #98B166 #73B166
triadic
#98B166 #6698B1 #B16698
tetradic
#98B166 #66B1A5 #7F66B1 #B16673
square
#98B166 #66B1A5 #7F66B1 #B16673
split-complementary
#98B166 #6673B1 #A566B1
monochromatic
#576835 #79904A #98B166 #B3C68F #CFDAB7

Accessibility & contrast

On white

2.38
#98B166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#98B166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B166
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B166#FFFFFF#000000##000000
##98B1661.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A960
Deuteranopia (green-blind)
#B5A86A
Tritanopia (blue-blind)
#9DAA9F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b166;
/* rgb */ color: rgb(152, 177, 102);
/* oklch */ color: oklch(72.4% 0.104 124.0);
Tailwind
colors: {
  custom: {
    50: '#b7c893',
    500: '#98b166',
    950: '#000000',
  },
}
SCSS
$custom: #98b166;
$custom-light: #b7c893;
$custom-dark: #000000;
JSON
{
  "hex": "#98b166",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 80,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72372,
    "c": 0.10427,
    "h": 124
  },
  "luminance": 0.39079
}

Semantic roles & 50–950 ramp

primary
#98B166
secondary
#B4AAC9
accent
#5FC982
background
#FBFCF9
surface
#F6F8F1
border
#D0D1CB
text
#11130D
muted
#80827E

Preview Lab

Preview with #98B166

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

Preview Lab → · Contrast checker → · Palette generator →

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