#97A531#97A531

#97A531 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.138 H 116.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#97A531
RGBrgb(151, 165, 49)
HSLhsl(67, 54%, 42%)
HSVhsv(67, 70%, 65%)
CMYKcmyk(8.5%, 0%, 70.3%, 35.3%)
CIE-LABlab(64.73, -20.23, 55.42)
CIE-LCHlch(64.73, 59.00, 110.05°)
OKLaboklab(68.9% -0.0607 0.1239)
OKLCHoklch(68.9% 0.138 116.1)
XYZxyz(26.7727, 33.7117, 8.0018)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A531 #3F31A5
analogous
#A57931 #97A531 #5DA531
triadic
#97A531 #3197A5 #A53197
tetradic
#97A531 #31A579 #3F31A5 #A5315D
square
#97A531 #31A579 #3F31A5 #A5315D
split-complementary
#97A531 #315DA5 #7931A5
monochromatic
#414715 #6C7623 #97A531 #BAC94A #CCD779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A531#FFFFFF#000000##000000
##97A5311.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)
#B09C1E
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a531;
/* rgb */ color: rgb(151, 165, 49);
/* oklch */ color: oklch(68.9% 0.138 116.1);
Tailwind
colors: {
  custom: {
    50: '#b9bf71',
    500: '#97a531',
    950: '#000000',
  },
}
SCSS
$custom: #97a531;
$custom-light: #b9bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#97a531",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 67.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68903,
    "c": 0.13797,
    "h": 116.1
  },
  "luminance": 0.33711
}

Semantic roles & 50–950 ramp

primary
#97A531
secondary
#7C72C0
accent
#4ADE5C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A531

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

Preview Lab → · Contrast checker → · Palette generator →

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