#97B15F#97B15F

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

Color values

HEX#97B15F
RGBrgb(151, 177, 95)
HSLhsl(79, 34%, 53%)
HSVhsv(79, 46%, 69%)
CMYKcmyk(14.7%, 0%, 46.3%, 30.6%)
CIE-LABlab(68.64, -22.34, 38.85)
CIE-LCHlch(68.64, 44.81, 119.90°)
OKLaboklab(72.19% -0.0622 0.0935)
OKLCHoklch(72.19% 0.112 123.6)
XYZxyz(30.5502, 38.8497, 16.7135)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B15F #795FB1
analogous
#B1A25F #97B15F #6EB15F
triadic
#97B15F #5F97B1 #B15F97
tetradic
#97B15F #5FB1A2 #795FB1 #B15F6E
square
#97B15F #5FB1A2 #795FB1 #B15F6E
split-complementary
#97B15F #5F6EB1 #A25FB1
monochromatic
#546531 #778E45 #97B15F #B2C588 #CCD9B1

Accessibility & contrast

On white

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

On black

8.77
#97B15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B15F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B15F#FFFFFF#000000##000000
##97B15F1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A858
Deuteranopia (green-blind)
#B6A763
Tritanopia (blue-blind)
#9CAA9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b15f;
/* rgb */ color: rgb(151, 177, 95);
/* oklch */ color: oklch(72.2% 0.112 123.6);
Tailwind
colors: {
  custom: {
    50: '#b7c88e',
    500: '#97b15f',
    950: '#000000',
  },
}
SCSS
$custom: #97b15f;
$custom-light: #b7c88e;
$custom-dark: #000000;
JSON
{
  "hex": "#97b15f",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 95
  },
  "hsl": {
    "h": 79.024,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.11234,
    "h": 123.6
  },
  "luminance": 0.3885
}

Semantic roles & 50–950 ramp

primary
#97B15F
secondary
#AFA4C8
accent
#5DCB80
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B15F

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

Preview Lab → · Contrast checker → · Palette generator →

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