#97A522#97A522

#97A522 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.147 H 115.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#97A522
RGBrgb(151, 165, 34)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 79%, 65%)
CMYKcmyk(8.5%, 0%, 79.4%, 35.3%)
CIE-LABlab(64.65, -20.95, 60.47)
CIE-LCHlch(64.65, 64.00, 109.11°)
OKLaboklab(68.81% -0.064 0.1319)
OKLCHoklch(68.81% 0.147 115.9)
XYZxyz(26.5071, 33.6055, 6.6032)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A522 #3022A5
analogous
#A57222 #97A522 #56A522
triadic
#97A522 #2297A5 #A52297
tetradic
#97A522 #22A572 #3022A5 #A52256
square
#97A522 #22A572 #3022A5 #A52256
split-complementary
#97A522 #2256A5 #7222A5
monochromatic
#3A400D #697218 #97A522 #C3D430 #D2DF63

Accessibility & contrast

On white

2.72
#97A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#97A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A522
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A522#FFFFFF#000000##000000
##97A5221.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a522;
/* rgb */ color: rgb(151, 165, 34);
/* oklch */ color: oklch(68.8% 0.147 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf69',
    500: '#97a522',
    950: '#000000',
  },
}
SCSS
$custom: #97a522;
$custom-light: #b9bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a522",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 66.412,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.14664,
    "h": 115.9
  },
  "luminance": 0.33605
}

Semantic roles & 50–950 ramp

primary
#97A522
secondary
#6A5FC4
accent
#3FE951
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A522

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

Preview Lab → · Contrast checker → · Palette generator →

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