#97A524#97A524

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

Color values

HEX#97A524
RGBrgb(151, 165, 36)
HSLhsl(67, 64%, 39%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(8.5%, 0%, 78.2%, 35.3%)
CIE-LABlab(64.66, -20.87, 59.87)
CIE-LCHlch(64.66, 63.41, 109.22°)
OKLaboklab(68.82% -0.0636 0.131)
OKLCHoklch(68.82% 0.146 115.9)
XYZxyz(26.5368, 33.6174, 6.7596)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A524 #3224A5
analogous
#A57324 #97A524 #56A524
triadic
#97A524 #2497A5 #A52497
tetradic
#97A524 #24A573 #3224A5 #A52456
square
#97A524 #24A573 #3224A5 #A52456
split-complementary
#97A524 #2456A5 #7324A5
monochromatic
#3B410E #697319 #97A524 #C1D334 #D1DE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A524#FFFFFF#000000##000000
##97A5241.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)
#B09E30
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a524;
/* rgb */ color: rgb(151, 165, 36);
/* oklch */ color: oklch(68.8% 0.146 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf6a',
    500: '#97a524',
    950: '#000000',
  },
}
SCSS
$custom: #97a524;
$custom-light: #b9bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a524",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 66.512,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68819,
    "c": 0.14565,
    "h": 115.9
  },
  "luminance": 0.33617
}

Semantic roles & 50–950 ramp

primary
#97A524
secondary
#6C62C3
accent
#41E753
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A524

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

Preview Lab → · Contrast checker → · Palette generator →

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