#97A64A#97A64A

#97A64A is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.119 H 117.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A64A
RGBrgb(151, 166, 74)
HSLhsl(70, 38%, 47%)
HSVhsv(70, 55%, 65%)
CMYKcmyk(9%, 0%, 55.4%, 34.9%)
CIE-LABlab(65.24, -18.92, 45.11)
CIE-LCHlch(65.24, 48.92, 112.75°)
OKLaboklab(69.38% -0.0545 0.1055)
OKLCHoklch(69.38% 0.119 117.3)
XYZxyz(27.6352, 34.3464, 11.6509)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A64A #594AA6
analogous
#A6874A #97A64A #69A64A
triadic
#97A64A #4A97A6 #A64A97
tetradic
#97A64A #4AA687 #594AA6 #A64A69
square
#97A64A #4AA687 #594AA6 #A64A69
split-complementary
#97A64A #4A69A6 #874AA6
monochromatic
#4A5124 #707C37 #97A64A #B2BF6F #C8D199

Accessibility & contrast

On white

2.67
#97A64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A64A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A64A#FFFFFF#000000##000000
##97A64A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#AF9F4F
Tritanopia (blue-blind)
#9F9E92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a64a;
/* rgb */ color: rgb(151, 166, 74);
/* oklch */ color: oklch(69.4% 0.119 117.3);
Tailwind
colors: {
  custom: {
    50: '#b7c07f',
    500: '#97a64a',
    950: '#000000',
  },
}
SCSS
$custom: #97a64a;
$custom-light: #b7c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a64a",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 74
  },
  "hsl": {
    "h": 69.783,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69377,
    "c": 0.11873,
    "h": 117.3
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#97A64A
secondary
#968EBE
accent
#5ACE6D
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A64A

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

Preview Lab → · Contrast checker → · Palette generator →

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