#97A02A#97A02A

#97A02A is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.137 H 113.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#97A02A
RGBrgb(151, 160, 42)
HSLhsl(65, 58%, 40%)
HSVhsv(65, 74%, 63%)
CMYKcmyk(5.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.25, -18.06, 56.56)
CIE-LCHlch(63.25, 59.38, 107.71°)
OKLaboklab(67.7% -0.0553 0.1251)
OKLCHoklch(67.7% 0.137 113.9)
XYZxyz(25.7520, 31.8886, 6.9886)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A02A #332AA0
analogous
#A06E2A #97A02A #5CA02A
triadic
#97A02A #2A97A0 #A02A97
tetradic
#97A02A #2AA06E #332AA0 #A02A5C
square
#97A02A #2AA06E #332AA0 #A02A5C
split-complementary
#97A02A #2A5CA0 #6E2AA0
monochromatic
#3C3F11 #69701D #97A02A #C1CC3C #D0D86C

Accessibility & contrast

On white

2.85
#97A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#97A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A02A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A02A#FFFFFF#000000##000000
##97A02A1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a02a;
/* rgb */ color: rgb(151, 160, 42);
/* oklch */ color: oklch(67.7% 0.137 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6c',
    500: '#97a02a',
    950: '#000000',
  },
}
SCSS
$custom: #97a02a;
$custom-light: #b9bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a02a",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 64.576,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.677,
    "c": 0.13678,
    "h": 113.9
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#97A02A
secondary
#6D67BF
accent
#46E252
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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