#97A528#97A528

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

Color values

HEX#97A528
RGBrgb(151, 165, 40)
HSLhsl(67, 61%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(8.5%, 0%, 75.8%, 35.3%)
CIE-LABlab(64.68, -20.69, 58.60)
CIE-LCHlch(64.68, 62.15, 109.45°)
OKLaboklab(68.84% -0.0628 0.129)
OKLCHoklch(68.84% 0.144 116)
XYZxyz(26.6013, 33.6432, 7.0995)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A528 #3628A5
analogous
#A57428 #97A528 #58A528
triadic
#97A528 #2897A5 #A52897
tetradic
#97A528 #28A574 #3628A5 #A52858
square
#97A528 #28A574 #3628A5 #A52858
split-complementary
#97A528 #2858A5 #7428A5
monochromatic
#3D4210 #6A741C #97A528 #BFCF3B #CFDB6C

Accessibility & contrast

On white

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

On black

7.73
#97A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A528
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A528#FFFFFF#000000##000000
##97A5281.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a528;
/* rgb */ color: rgb(151, 165, 40);
/* oklch */ color: oklch(68.8% 0.144 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf6c',
    500: '#97a528',
    950: '#000000',
  },
}
SCSS
$custom: #97a528;
$custom-light: #b9bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a528",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 66.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.14351,
    "h": 116
  },
  "luminance": 0.33643
}

Semantic roles & 50–950 ramp

primary
#97A528
secondary
#7167C2
accent
#44E456
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A528

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

Preview Lab → · Contrast checker → · Palette generator →

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