#97A545#97A545

#97A545 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.122 H 116.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#97A545
RGBrgb(151, 165, 69)
HSLhsl(69, 41%, 46%)
HSVhsv(69, 58%, 65%)
CMYKcmyk(8.5%, 0%, 58.2%, 35.3%)
CIE-LABlab(64.90, -18.84, 47.08)
CIE-LCHlch(64.90, 50.70, 111.81°)
OKLaboklab(69.09% -0.0548 0.1091)
OKLCHoklch(69.09% 0.122 116.7)
XYZxyz(27.2923, 33.9196, 10.7384)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A545 #5345A5
analogous
#A58345 #97A545 #67A545
triadic
#97A545 #4597A5 #A54597
tetradic
#97A545 #45A583 #5345A5 #A54567
square
#97A545 #45A583 #5345A5 #A54567
split-complementary
#97A545 #4567A5 #8345A5
monochromatic
#484F21 #707A33 #97A545 #B3C068 #C9D293

Accessibility & contrast

On white

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

On black

7.78
#97A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A545
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A545#FFFFFF#000000##000000
##97A5451.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#9F9C90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a545;
/* rgb */ color: rgb(151, 165, 69);
/* oklch */ color: oklch(69.1% 0.122 116.7);
Tailwind
colors: {
  custom: {
    50: '#b8bf7c',
    500: '#97a545',
    950: '#000000',
  },
}
SCSS
$custom: #97a545;
$custom-light: #b8bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a545",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 68.75,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69089,
    "c": 0.1221,
    "h": 116.7
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#97A545
secondary
#9088BD
accent
#57D169
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A545

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

Preview Lab → · Contrast checker → · Palette generator →

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