#97B157#97B157

#97B157 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.1% C 0.121 H 122.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#97B157
RGBrgb(151, 177, 87)
HSLhsl(77, 37%, 52%)
HSVhsv(77, 51%, 69%)
CMYKcmyk(14.7%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.54, -23.20, 42.71)
CIE-LCHlch(68.54, 48.60, 118.51°)
OKLaboklab(72.08% -0.0653 0.1015)
OKLCHoklch(72.08% 0.121 122.8)
XYZxyz(30.2050, 38.7116, 14.8958)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B157 #7157B1
analogous
#B19E57 #97B157 #6AB157
triadic
#97B157 #5797B1 #B15797
tetradic
#97B157 #57B19E #7157B1 #B1576A
square
#97B157 #57B19E #7157B1 #B1576A
split-complementary
#97B157 #576AB1 #9E57B1
monochromatic
#52612D #758A40 #97B157 #B1C481 #CBD8AB

Accessibility & contrast

On white

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

On black

8.74
#97B157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B157
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B157#FFFFFF#000000##000000
##97B1571.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#B6A75C
Tritanopia (blue-blind)
#9DA99C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b157;
/* rgb */ color: rgb(151, 177, 87);
/* oklch */ color: oklch(72.1% 0.121 122.8);
Tailwind
colors: {
  custom: {
    50: '#b7c889',
    500: '#97b157',
    950: '#000000',
  },
}
SCSS
$custom: #97b157;
$custom-light: #b7c889;
$custom-dark: #000000;
JSON
{
  "hex": "#97b157",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 77.333,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72077,
    "c": 0.12067,
    "h": 122.8
  },
  "luminance": 0.38712
}

Semantic roles & 50–950 ramp

primary
#97B157
secondary
#AA9EC6
accent
#5BCD7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B157

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

Preview Lab → · Contrast checker → · Palette generator →

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