#97A72E#97A72E

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

Color values

HEX#97A72E
RGBrgb(151, 167, 46)
HSLhsl(68, 57%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9.6%, 0%, 72.5%, 34.5%)
CIE-LABlab(65.29, -21.40, 57.09)
CIE-LCHlch(65.29, 60.97, 110.55°)
OKLaboklab(69.35% -0.0642 0.1269)
OKLCHoklch(69.35% 0.142 116.9)
XYZxyz(27.0750, 34.4143, 7.8006)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A72E #3E2EA7
analogous
#A77B2E #97A72E #5BA72E
triadic
#97A72E #2E97A7 #A72E97
tetradic
#97A72E #2EA77B #3E2EA7 #A72E5B
square
#97A72E #2EA77B #3E2EA7 #A72E5B
split-complementary
#97A72E #2E5BA7 #7B2EA7
monochromatic
#404714 #6C7721 #97A72E #BACC46 #CCD976

Accessibility & contrast

On white

2.66
#97A72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A72E#FFFFFF#000000##000000
##97A72E1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A19D90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a72e;
/* rgb */ color: rgb(151, 167, 46);
/* oklch */ color: oklch(69.3% 0.142 116.9);
Tailwind
colors: {
  custom: {
    50: '#b9c16f',
    500: '#97a72e',
    950: '#000000',
  },
}
SCSS
$custom: #97a72e;
$custom-light: #b9c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a72e",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 67.934,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69345,
    "c": 0.14223,
    "h": 116.9
  },
  "luminance": 0.34414
}

Semantic roles & 50–950 ramp

primary
#97A72E
secondary
#7A70C1
accent
#48E05C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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