#97B158#97B158

#97B158 is a light, moderate yellow-green. Relative luminance 0.387; OKLCH L 72.1% C 0.120 H 122.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#97B158
RGBrgb(151, 177, 88)
HSLhsl(78, 36%, 52%)
HSVhsv(78, 50%, 69%)
CMYKcmyk(14.7%, 0%, 50.3%, 30.6%)
CIE-LABlab(68.55, -23.10, 42.23)
CIE-LCHlch(68.55, 48.13, 118.67°)
OKLaboklab(72.09% -0.0649 0.1005)
OKLCHoklch(72.09% 0.12 122.9)
XYZxyz(30.2462, 38.7281, 15.1125)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B158 #7258B1
analogous
#B19F58 #97B158 #6BB158
triadic
#97B158 #5897B1 #B15897
tetradic
#97B158 #58B19F #7258B1 #B1586B
square
#97B158 #58B19F #7258B1 #B1586B
split-complementary
#97B158 #586BB1 #9F58B1
monochromatic
#52612D #758B41 #97B158 #B1C482 #CBD8AB

Accessibility & contrast

On white

2.40
#97B158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#97B158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B158
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B158#FFFFFF#000000##000000
##97B1581.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA850
Deuteranopia (green-blind)
#B6A75D
Tritanopia (blue-blind)
#9DAA9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b158;
/* rgb */ color: rgb(151, 177, 88);
/* oklch */ color: oklch(72.1% 0.120 122.9);
Tailwind
colors: {
  custom: {
    50: '#b7c889',
    500: '#97b158',
    950: '#000000',
  },
}
SCSS
$custom: #97b158;
$custom-light: #b7c889;
$custom-dark: #000000;
JSON
{
  "hex": "#97b158",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 77.528,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7209,
    "c": 0.11966,
    "h": 122.9
  },
  "luminance": 0.38728
}

Semantic roles & 50–950 ramp

primary
#97B158
secondary
#AA9FC6
accent
#5BCC7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B158

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

Preview Lab → · Contrast checker → · Palette generator →

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