#97A548#97A548

#97A548 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.119 H 116.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A548
RGBrgb(151, 165, 72)
HSLhsl(69, 39%, 46%)
HSVhsv(69, 56%, 65%)
CMYKcmyk(8.5%, 0%, 56.4%, 35.3%)
CIE-LABlab(64.93, -18.58, 45.71)
CIE-LCHlch(64.93, 49.34, 112.12°)
OKLaboklab(69.12% -0.0537 0.1066)
OKLCHoklch(69.12% 0.119 116.8)
XYZxyz(27.3878, 33.9578, 11.2413)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A548 #5648A5
analogous
#A58548 #97A548 #69A548
triadic
#97A548 #4897A5 #A54897
tetradic
#97A548 #48A585 #5648A5 #A54869
square
#97A548 #48A585 #5648A5 #A54869
split-complementary
#97A548 #4869A5 #8548A5
monochromatic
#495023 #707A35 #97A548 #B2BF6C #C8D196

Accessibility & contrast

On white

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

On black

7.79
#97A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A548
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A548#FFFFFF#000000##000000
##97A5481.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a548;
/* rgb */ color: rgb(151, 165, 72);
/* oklch */ color: oklch(69.1% 0.119 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8bf7e',
    500: '#97a548',
    950: '#000000',
  },
}
SCSS
$custom: #97a548;
$custom-light: #b8bf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a548",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 69.032,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69123,
    "c": 0.11934,
    "h": 116.8
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

primary
#97A548
secondary
#938CBD
accent
#59CF6A
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A548

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

Preview Lab → · Contrast checker → · Palette generator →

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