#97A151#97A151

#97A151 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.105 H 115.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#97A151
RGBrgb(151, 161, 81)
HSLhsl(68, 33%, 47%)
HSVhsv(68, 50%, 63%)
CMYKcmyk(6.2%, 0%, 49.7%, 36.9%)
CIE-LABlab(63.89, -15.69, 40.11)
CIE-LCHlch(63.89, 43.07, 111.36°)
OKLaboklab(68.32% -0.0447 0.0953)
OKLCHoklch(68.32% 0.105 115.1)
XYZxyz(26.9929, 32.6635, 12.6657)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A151 #5B51A1
analogous
#A18351 #97A151 #6FA151
triadic
#97A151 #5197A1 #A15197
tetradic
#97A151 #51A183 #5B51A1 #A1516F
square
#97A151 #51A183 #5B51A1 #A1516F
split-complementary
#97A151 #516FA1 #8351A1
monochromatic
#4B5028 #71783D #97A151 #B1BA75 #C8CE9E

Accessibility & contrast

On white

2.79
#97A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#97A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A151
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A151#FFFFFF#000000##000000
##97A1511.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4A
Deuteranopia (green-blind)
#AA9C55
Tritanopia (blue-blind)
#9F998F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a151;
/* rgb */ color: rgb(151, 161, 81);
/* oklch */ color: oklch(68.3% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#b7bc84',
    500: '#97a151',
    950: '#000000',
  },
}
SCSS
$custom: #97a151;
$custom-light: #b7bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#97a151",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 67.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.10523,
    "h": 115.1
  },
  "luminance": 0.32663
}

Semantic roles & 50–950 ramp

primary
#97A151
secondary
#9893BB
accent
#5FC96C
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #97A151

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

Preview Lab → · Contrast checker → · Palette generator →

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