#97A532#97A532

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

Color values

HEX#97A532
RGBrgb(151, 165, 50)
HSLhsl(67, 53%, 42%)
HSVhsv(67, 70%, 65%)
CMYKcmyk(8.5%, 0%, 69.7%, 35.3%)
CIE-LABlab(64.74, -20.17, 55.04)
CIE-LCHlch(64.74, 58.62, 110.13°)
OKLaboklab(68.91% -0.0605 0.1233)
OKLCHoklch(68.91% 0.137 116.1)
XYZxyz(26.7940, 33.7202, 8.1142)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A532 #4032A5
analogous
#A57932 #97A532 #5EA532
triadic
#97A532 #3297A5 #A53297
tetradic
#97A532 #32A579 #4032A5 #A5325E
square
#97A532 #32A579 #4032A5 #A5325E
split-complementary
#97A532 #325EA5 #7932A5
monochromatic
#414716 #6C7624 #97A532 #B9C94C #CCD77B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A532#FFFFFF#000000##000000
##97A5321.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)
#B09C20
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a532;
/* rgb */ color: rgb(151, 165, 50);
/* oklch */ color: oklch(68.9% 0.137 116.1);
Tailwind
colors: {
  custom: {
    50: '#b9bf71',
    500: '#97a532',
    950: '#000000',
  },
}
SCSS
$custom: #97a532;
$custom-light: #b9bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#97a532",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 67.304,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68911,
    "c": 0.13729,
    "h": 116.1
  },
  "luminance": 0.3372
}

Semantic roles & 50–950 ramp

primary
#97A532
secondary
#7D73BF
accent
#4BDD5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A532

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

Preview Lab → · Contrast checker → · Palette generator →

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