#97A533#97A533

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

Color values

HEX#97A533
RGBrgb(151, 165, 51)
HSLhsl(67, 53%, 42%)
HSVhsv(67, 69%, 65%)
CMYKcmyk(8.5%, 0%, 69.1%, 35.3%)
CIE-LABlab(64.75, -20.11, 54.66)
CIE-LCHlch(64.75, 58.24, 110.20°)
OKLaboklab(68.92% -0.0602 0.1226)
OKLCHoklch(68.92% 0.137 116.2)
XYZxyz(26.8158, 33.7290, 8.2290)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A533 #4133A5
analogous
#A57A33 #97A533 #5EA533
triadic
#97A533 #3397A5 #A53397
tetradic
#97A533 #33A57A #4133A5 #A5335E
square
#97A533 #33A57A #4133A5 #A5335E
split-complementary
#97A533 #335EA5 #7A33A5
monochromatic
#414816 #6C7625 #97A533 #B9C84D #CBD67C

Accessibility & contrast

On white

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

On black

7.75
#97A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A533
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A533#FFFFFF#000000##000000
##97A5331.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C21
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a533;
/* rgb */ color: rgb(151, 165, 51);
/* oklch */ color: oklch(68.9% 0.137 116.2);
Tailwind
colors: {
  custom: {
    50: '#b9bf72',
    500: '#97a533',
    950: '#000000',
  },
}
SCSS
$custom: #97a533;
$custom-light: #b9bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#97a533",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 67.368,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.13659,
    "h": 116.2
  },
  "luminance": 0.33729
}

Semantic roles & 50–950 ramp

primary
#97A533
secondary
#7E75BF
accent
#4CDC5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A533

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

Preview Lab → · Contrast checker → · Palette generator →

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