#97A52D#97A52D

#97A52D is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.141 H 116.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#97A52D
RGBrgb(151, 165, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 65%)
CMYKcmyk(8.5%, 0%, 72.7%, 35.3%)
CIE-LABlab(64.71, -20.45, 56.89)
CIE-LCHlch(64.71, 60.45, 109.77°)
OKLaboklab(68.88% -0.0617 0.1263)
OKLCHoklch(68.88% 0.141 116)
XYZxyz(26.6920, 33.6794, 7.5768)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A52D #3B2DA5
analogous
#A5772D #97A52D #5BA52D
triadic
#97A52D #2D97A5 #A52D97
tetradic
#97A52D #2DA577 #3B2DA5 #A52D5B
square
#97A52D #2DA577 #3B2DA5 #A52D5B
split-complementary
#97A52D #2D5BA5 #772DA5
monochromatic
#3F4513 #6B7520 #97A52D #BCCC43 #CDD973

Accessibility & contrast

On white

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

On black

7.74
#97A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A52D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A52D#FFFFFF#000000##000000
##97A52D1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C17
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A19B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a52d;
/* rgb */ color: rgb(151, 165, 45);
/* oklch */ color: oklch(68.9% 0.141 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf6f',
    500: '#97a52d',
    950: '#000000',
  },
}
SCSS
$custom: #97a52d;
$custom-light: #b9bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a52d",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 67,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68875,
    "c": 0.14056,
    "h": 116
  },
  "luminance": 0.33679
}

Semantic roles & 50–950 ramp

primary
#97A52D
secondary
#776DC1
accent
#47E059
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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