#97A539#97A539

#97A539 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.132 H 116.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#97A539
RGBrgb(151, 165, 57)
HSLhsl(68, 49%, 44%)
HSVhsv(68, 65%, 65%)
CMYKcmyk(8.5%, 0%, 65.5%, 35.3%)
CIE-LABlab(64.79, -19.73, 52.27)
CIE-LCHlch(64.79, 55.87, 110.68°)
OKLaboklab(68.97% -0.0585 0.1185)
OKLCHoklch(68.97% 0.132 116.3)
XYZxyz(26.9567, 33.7853, 8.9713)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A539 #4739A5
analogous
#A57D39 #97A539 #61A539
triadic
#97A539 #3997A5 #A53997
tetradic
#97A539 #39A57D #4739A5 #A53961
square
#97A539 #39A57D #4739A5 #A53961
split-complementary
#97A539 #3961A5 #7D39A5
monochromatic
#444A1A #6D7829 #97A539 #B6C556 #CAD484

Accessibility & contrast

On white

2.71
#97A539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#97A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A539
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A539#FFFFFF#000000##000000
##97A5391.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#AF9E41
Tritanopia (blue-blind)
#A09C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a539;
/* rgb */ color: rgb(151, 165, 57);
/* oklch */ color: oklch(69.0% 0.132 116.3);
Tailwind
colors: {
  custom: {
    50: '#b8bf75',
    500: '#97a539',
    950: '#000000',
  },
}
SCSS
$custom: #97a539;
$custom-light: #b8bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#97a539",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 67.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68969,
    "c": 0.13218,
    "h": 116.3
  },
  "luminance": 0.33785
}

Semantic roles & 50–950 ramp

primary
#97A539
secondary
#847BBE
accent
#50D861
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A539

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

Preview Lab → · Contrast checker → · Palette generator →

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