#97AF42#97AF42

#97AF42 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.4% C 0.137 H 120.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#97AF42
RGBrgb(151, 175, 66)
HSLhsl(73, 45%, 47%)
HSVhsv(73, 62%, 69%)
CMYKcmyk(13.7%, 0%, 62.3%, 31.4%)
CIE-LABlab(67.75, -24.09, 51.57)
CIE-LCHlch(67.75, 56.92, 115.03°)
OKLaboklab(71.37% -0.0698 0.1183)
OKLCHoklch(71.37% 0.137 120.5)
XYZxyz(29.0762, 37.6327, 10.8853)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF42 #5A42AF
analogous
#AF9142 #97AF42 #61AF42
triadic
#97AF42 #4297AF #AF4297
tetradic
#97AF42 #42AF91 #5A42AF #AF4261
square
#97AF42 #42AF91 #5A42AF #AF4261
split-complementary
#97AF42 #4261AF #9142AF
monochromatic
#4A5620 #718331 #97AF42 #B1C668 #C8D795

Accessibility & contrast

On white

2.46
#97AF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#97AF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF42
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF42#FFFFFF#000000##000000
##97AF421.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#9FA698
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af42;
/* rgb */ color: rgb(151, 175, 66);
/* oklch */ color: oklch(71.4% 0.137 120.5);
Tailwind
colors: {
  custom: {
    50: '#b8c67b',
    500: '#97af42',
    950: '#000000',
  },
}
SCSS
$custom: #97af42;
$custom-light: #b8c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#97af42",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 73.211,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71369,
    "c": 0.13736,
    "h": 120.5
  },
  "luminance": 0.37633
}

Semantic roles & 50–950 ramp

primary
#97AF42
secondary
#978AC2
accent
#53D570
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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