#97A527#97A527

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

Color values

HEX#97A527
RGBrgb(151, 165, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(8.5%, 0%, 76.4%, 35.3%)
CIE-LABlab(64.67, -20.74, 58.93)
CIE-LCHlch(64.67, 62.47, 109.39°)
OKLaboklab(68.84% -0.063 0.1296)
OKLCHoklch(68.84% 0.144 115.9)
XYZxyz(26.5846, 33.6365, 7.0111)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A527 #3527A5
analogous
#A57427 #97A527 #58A527
triadic
#97A527 #2797A5 #A52797
tetradic
#97A527 #27A574 #3527A5 #A52758
square
#97A527 #27A574 #3527A5 #A52758
split-complementary
#97A527 #2758A5 #7427A5
monochromatic
#3C4210 #6A741B #97A527 #BFD039 #CFDC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A527#FFFFFF#000000##000000
##97A5271.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)
#B19C07
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a527;
/* rgb */ color: rgb(151, 165, 39);
/* oklch */ color: oklch(68.8% 0.144 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf6c',
    500: '#97a527',
    950: '#000000',
  },
}
SCSS
$custom: #97a527;
$custom-light: #b9bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a527",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 66.667,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.68836,
    "c": 0.14407,
    "h": 115.9
  },
  "luminance": 0.33636
}

Semantic roles & 50–950 ramp

primary
#97A527
secondary
#7066C2
accent
#43E555
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A527

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

Preview Lab → · Contrast checker → · Palette generator →

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