#97A45F#97A45F

#97A45F is a light, moderate yellow-green. Relative luminance 0.340; OKLCH L 69.2% C 0.094 H 117.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A45F
RGBrgb(151, 164, 95)
HSLhsl(71, 27%, 51%)
HSVhsv(71, 42%, 64%)
CMYKcmyk(7.9%, 0%, 42.1%, 35.7%)
CIE-LABlab(64.93, -15.73, 34.22)
CIE-LCHlch(64.93, 37.66, 114.68°)
OKLaboklab(69.22% -0.0436 0.0831)
OKLCHoklch(69.22% 0.094 117.7)
XYZxyz(28.1037, 33.9566, 15.8980)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A45F #6C5FA4
analogous
#A48E5F #97A45F #74A45F
triadic
#97A45F #5F97A4 #A45F97
tetradic
#97A45F #5FA48E #6C5FA4 #A45F74
square
#97A45F #5FA48E #6C5FA4 #A45F74
split-complementary
#97A45F #5F74A4 #8E5FA4
monochromatic
#505732 #747E48 #97A45F #B0BA86 #CAD0AD

Accessibility & contrast

On white

2.70
#97A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#97A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A45F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A45F#FFFFFF#000000##000000
##97A45F1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#AB9E62
Tritanopia (blue-blind)
#9E9D93
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a45f;
/* rgb */ color: rgb(151, 164, 95);
/* oklch */ color: oklch(69.2% 0.094 117.7);
Tailwind
colors: {
  custom: {
    50: '#b7bf8d',
    500: '#97a45f',
    950: '#000000',
  },
}
SCSS
$custom: #97a45f;
$custom-light: #b7bf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a45f",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 71.304,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.09386,
    "h": 117.7
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

primary
#97A45F
secondary
#A6A0BF
accent
#64C476
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #97A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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