#97A72A#97A72A

#97A72A is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.145 H 116.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#97A72A
RGBrgb(151, 167, 42)
HSLhsl(68, 60%, 41%)
HSVhsv(68, 75%, 65%)
CMYKcmyk(9.6%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.27, -21.60, 58.48)
CIE-LCHlch(65.27, 62.34, 110.28°)
OKLaboklab(69.32% -0.0652 0.1291)
OKLCHoklch(69.32% 0.145 116.8)
XYZxyz(26.9998, 34.3843, 7.4045)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A72A #3A2AA7
analogous
#A7782A #97A72A #58A72A
triadic
#97A72A #2A97A7 #A72A97
tetradic
#97A72A #2AA778 #3A2AA7 #A72A58
square
#97A72A #2AA778 #3A2AA7 #A72A58
split-complementary
#97A72A #2A58A7 #782AA7
monochromatic
#3F4511 #6B761E #97A72A #BCCF3F #CDDB70

Accessibility & contrast

On white

2.67
#97A72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#97A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A72A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A72A#FFFFFF#000000##000000
##97A72A1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a72a;
/* rgb */ color: rgb(151, 167, 42);
/* oklch */ color: oklch(69.3% 0.145 116.8);
Tailwind
colors: {
  custom: {
    50: '#b9c16d',
    500: '#97a72a',
    950: '#000000',
  },
}
SCSS
$custom: #97a72a;
$custom-light: #b9c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a72a",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 67.68,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69318,
    "c": 0.14464,
    "h": 116.8
  },
  "luminance": 0.34384
}

Semantic roles & 50–950 ramp

primary
#97A72A
secondary
#766BC2
accent
#45E359
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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