#97B26F#97B26F

#97B26F is a light, moderate yellow-green. Relative luminance 0.396; OKLCH L 72.7% C 0.096 H 126.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#97B26F
RGBrgb(151, 178, 111)
HSLhsl(84, 30%, 57%)
HSVhsv(84, 38%, 70%)
CMYKcmyk(15.2%, 0%, 37.6%, 30.2%)
CIE-LABlab(69.16, -20.87, 31.25)
CIE-LCHlch(69.16, 37.58, 123.73°)
OKLaboklab(72.68% -0.0571 0.0771)
OKLCHoklch(72.68% 0.096 126.5)
XYZxyz(31.5518, 39.5675, 21.0109)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B26F #8A6FB2
analogous
#B2AC6F #97B26F #76B26F
triadic
#97B26F #6F97B2 #B26F97
tetradic
#97B26F #6FB2AC #8A6FB2 #B26F76
square
#97B26F #6FB2AC #8A6FB2 #B26F76
split-complementary
#97B26F #6F76B2 #AC6FB2
monochromatic
#586D3A #79944F #97B26F #B4C797 #D1DDBF

Accessibility & contrast

On white

2.36
#97B26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#97B26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B26F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B26F#FFFFFF#000000##000000
##97B26F1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA6A
Deuteranopia (green-blind)
#B5A872
Tritanopia (blue-blind)
#9BACA1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b26f;
/* rgb */ color: rgb(151, 178, 111);
/* oklch */ color: oklch(72.7% 0.096 126.5);
Tailwind
colors: {
  custom: {
    50: '#b6c999',
    500: '#97b26f',
    950: '#000000',
  },
}
SCSS
$custom: #97b26f;
$custom-light: #b6c999;
$custom-dark: #000000;
JSON
{
  "hex": "#97b26f",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 111
  },
  "hsl": {
    "h": 84.179,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.09592,
    "h": 126.5
  },
  "luminance": 0.39568
}

Semantic roles & 50–950 ramp

primary
#97B26F
secondary
#BCB1CC
accent
#61C78A
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #97B26F

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

Preview Lab → · Contrast checker → · Palette generator →

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