#97A54B#97A54B

#97A54B is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.116 H 116.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#97A54B
RGBrgb(151, 165, 75)
HSLhsl(69, 38%, 47%)
HSVhsv(69, 55%, 65%)
CMYKcmyk(8.5%, 0%, 54.5%, 35.3%)
CIE-LABlab(64.96, -18.32, 44.32)
CIE-LCHlch(64.96, 47.95, 112.46°)
OKLaboklab(69.16% -0.0527 0.1039)
OKLCHoklch(69.16% 0.116 116.9)
XYZxyz(27.4880, 33.9979, 11.7694)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A54B #594BA5
analogous
#A5864B #97A54B #6AA54B
triadic
#97A54B #4B97A5 #A54B97
tetradic
#97A54B #4BA586 #594BA5 #A54B6A
square
#97A54B #4BA586 #594BA5 #A54B6A
split-complementary
#97A54B #4B6AA5 #864BA5
monochromatic
#4A5125 #707B38 #97A54B #B2BE6F #C8D19A

Accessibility & contrast

On white

2.69
#97A54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#97A54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A54B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A54B#FFFFFF#000000##000000
##97A54B1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#AE9E50
Tritanopia (blue-blind)
#9F9D91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a54b;
/* rgb */ color: rgb(151, 165, 75);
/* oklch */ color: oklch(69.2% 0.116 116.9);
Tailwind
colors: {
  custom: {
    50: '#b7bf80',
    500: '#97a54b',
    950: '#000000',
  },
}
SCSS
$custom: #97a54b;
$custom-light: #b7bf80;
$custom-dark: #000000;
JSON
{
  "hex": "#97a54b",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 75
  },
  "hsl": {
    "h": 69.333,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69159,
    "c": 0.11647,
    "h": 116.9
  },
  "luminance": 0.33998
}

Semantic roles & 50–950 ramp

primary
#97A54B
secondary
#968FBD
accent
#5ACD6C
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A54B

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

Preview Lab → · Contrast checker → · Palette generator →

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