#97A525#97A525

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

Color values

HEX#97A525
RGBrgb(151, 165, 37)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(8.5%, 0%, 77.6%, 35.3%)
CIE-LABlab(64.66, -20.83, 59.56)
CIE-LCHlch(64.66, 63.10, 109.27°)
OKLaboklab(68.82% -0.0635 0.1305)
OKLCHoklch(68.82% 0.145 115.9)
XYZxyz(26.5523, 33.6236, 6.8412)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A525 #3325A5
analogous
#A57325 #97A525 #57A525
triadic
#97A525 #2597A5 #A52597
tetradic
#97A525 #25A573 #3325A5 #A52557
square
#97A525 #25A573 #3325A5 #A52557
split-complementary
#97A525 #2557A5 #7325A5
monochromatic
#3C410F #69731A #97A525 #C1D235 #D0DD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A525#FFFFFF#000000##000000
##97A5251.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)
#B19C01
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a525;
/* rgb */ color: rgb(151, 165, 37);
/* oklch */ color: oklch(68.8% 0.145 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf6b',
    500: '#97a525',
    950: '#000000',
  },
}
SCSS
$custom: #97a525;
$custom-light: #b9bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a525",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 66.563,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68824,
    "c": 0.14514,
    "h": 115.9
  },
  "luminance": 0.33623
}

Semantic roles & 50–950 ramp

primary
#97A525
secondary
#6D63C3
accent
#41E653
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A525

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

Preview Lab → · Contrast checker → · Palette generator →

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