#97B162#97B162

#97B162 is a light, moderate yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.109 H 124.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#97B162
RGBrgb(151, 177, 98)
HSLhsl(80, 34%, 54%)
HSVhsv(80, 45%, 69%)
CMYKcmyk(14.7%, 0%, 44.6%, 30.6%)
CIE-LABlab(68.68, -21.99, 37.38)
CIE-LCHlch(68.68, 43.37, 120.47°)
OKLaboklab(72.24% -0.061 0.0904)
OKLCHoklch(72.24% 0.109 124)
XYZxyz(30.6892, 38.9053, 17.4456)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B162 #7C62B1
analogous
#B1A462 #97B162 #70B162
triadic
#97B162 #6297B1 #B16297
tetradic
#97B162 #62B1A4 #7C62B1 #B16270
square
#97B162 #62B1A4 #7C62B1 #B16270
split-complementary
#97B162 #6270B1 #A462B1
monochromatic
#556633 #778F47 #97B162 #B2C58B #CDDAB4

Accessibility & contrast

On white

2.39
#97B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#97B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B162
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B162#FFFFFF#000000##000000
##97B1621.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85C
Deuteranopia (green-blind)
#B5A766
Tritanopia (blue-blind)
#9CAA9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b162;
/* rgb */ color: rgb(151, 177, 98);
/* oklch */ color: oklch(72.2% 0.109 124.0);
Tailwind
colors: {
  custom: {
    50: '#b7c890',
    500: '#97b162',
    950: '#000000',
  },
}
SCSS
$custom: #97b162;
$custom-light: #b7c890;
$custom-dark: #000000;
JSON
{
  "hex": "#97b162",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 79.747,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72236,
    "c": 0.1091,
    "h": 124
  },
  "luminance": 0.38905
}

Semantic roles & 50–950 ramp

primary
#97B162
secondary
#B2A7C8
accent
#5ECA82
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130D
muted
#80827D

Preview Lab

Preview with #97B162

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

Preview Lab → · Contrast checker → · Palette generator →

#97B162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva