#97A52F#97A52F

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

Color values

HEX#97A52F
RGBrgb(151, 165, 47)
HSLhsl(67, 56%, 42%)
HSVhsv(67, 72%, 65%)
CMYKcmyk(8.5%, 0%, 71.5%, 35.3%)
CIE-LABlab(64.72, -20.34, 56.16)
CIE-LCHlch(64.72, 59.73, 109.91°)
OKLaboklab(68.89% -0.0612 0.1251)
OKLCHoklch(68.89% 0.139 116.1)
XYZxyz(26.7314, 33.6952, 7.7844)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A52F #3D2FA5
analogous
#A5782F #97A52F #5CA52F
triadic
#97A52F #2F97A5 #A52F97
tetradic
#97A52F #2FA578 #3D2FA5 #A52F5C
square
#97A52F #2FA578 #3D2FA5 #A52F5C
split-complementary
#97A52F #2F5CA5 #782FA5
monochromatic
#404614 #6B7521 #97A52F #BBCB47 #CCD876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A52F#FFFFFF#000000##000000
##97A52F1.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)
#B19C1A
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a52f;
/* rgb */ color: rgb(151, 165, 47);
/* oklch */ color: oklch(68.9% 0.139 116.1);
Tailwind
colors: {
  custom: {
    50: '#b9bf70',
    500: '#97a52f',
    950: '#000000',
  },
}
SCSS
$custom: #97a52f;
$custom-light: #b9bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#97a52f",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 67.119,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.13929,
    "h": 116.1
  },
  "luminance": 0.33695
}

Semantic roles & 50–950 ramp

primary
#97A52F
secondary
#7970C0
accent
#49DF5B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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