#97A52A#97A52A

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

Color values

HEX#97A52A
RGBrgb(151, 165, 42)
HSLhsl(67, 59%, 41%)
HSVhsv(67, 75%, 65%)
CMYKcmyk(8.5%, 0%, 74.5%, 35.3%)
CIE-LABlab(64.69, -20.60, 57.93)
CIE-LCHlch(64.69, 61.49, 109.57°)
OKLaboklab(68.86% -0.0624 0.128)
OKLCHoklch(68.86% 0.142 116)
XYZxyz(26.6363, 33.6571, 7.2833)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A52A #382AA5
analogous
#A5752A #97A52A #5AA52A
triadic
#97A52A #2A97A5 #A52A97
tetradic
#97A52A #2AA575 #382AA5 #A52A5A
square
#97A52A #2AA575 #382AA5 #A52A5A
split-complementary
#97A52A #2A5AA5 #752AA5
monochromatic
#3E4311 #6A741E #97A52A #BECE3E #CEDA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A52A#FFFFFF#000000##000000
##97A52A1.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)
#B19C10
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#A19B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a52a;
/* rgb */ color: rgb(151, 165, 42);
/* oklch */ color: oklch(68.9% 0.142 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf6d',
    500: '#97a52a',
    950: '#000000',
  },
}
SCSS
$custom: #97a52a;
$custom-light: #b9bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a52a",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 66.829,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.14237,
    "h": 116
  },
  "luminance": 0.33657
}

Semantic roles & 50–950 ramp

primary
#97A52A
secondary
#7369C1
accent
#45E357
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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