#97A451#97A451

#97A451 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.109 H 116.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#97A451
RGBrgb(151, 164, 81)
HSLhsl(69, 34%, 48%)
HSVhsv(69, 51%, 64%)
CMYKcmyk(7.9%, 0%, 50.6%, 35.7%)
CIE-LABlab(64.74, -17.24, 41.13)
CIE-LCHlch(64.74, 44.60, 112.74°)
OKLaboklab(69.01% -0.0491 0.0975)
OKLCHoklch(69.01% 0.109 116.7)
XYZxyz(27.5235, 33.7246, 12.8425)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A451 #5E51A4
analogous
#A48851 #97A451 #6DA451
triadic
#97A451 #5197A4 #A45197
tetradic
#97A451 #51A488 #5E51A4 #A4516D
square
#97A451 #51A488 #5E51A4 #A4516D
split-complementary
#97A451 #516DA4 #8851A4
monochromatic
#4C5229 #717B3D #97A451 #B1BC77 #C8D0A0

Accessibility & contrast

On white

2.71
#97A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#97A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A451
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A451#FFFFFF#000000##000000
##97A4511.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D49
Deuteranopia (green-blind)
#AC9E56
Tritanopia (blue-blind)
#9F9C91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a451;
/* rgb */ color: rgb(151, 164, 81);
/* oklch */ color: oklch(69.0% 0.109 116.7);
Tailwind
colors: {
  custom: {
    50: '#b7be84',
    500: '#97a451',
    950: '#000000',
  },
}
SCSS
$custom: #97a451;
$custom-light: #b7be84;
$custom-dark: #000000;
JSON
{
  "hex": "#97a451",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 69.398,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.10916,
    "h": 116.7
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#97A451
secondary
#9A94BD
accent
#5ECA6F
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #97A451

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

Preview Lab → · Contrast checker → · Palette generator →

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