#97AD31#97AD31

#97AD31 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.8% C 0.147 H 119.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#97AD31
RGBrgb(151, 173, 49)
HSLhsl(71, 56%, 44%)
HSVhsv(71, 72%, 68%)
CMYKcmyk(12.7%, 0%, 71.7%, 32.2%)
CIE-LABlab(67.04, -24.22, 57.71)
CIE-LCHlch(67.04, 62.58, 112.77°)
OKLaboklab(70.76% -0.0718 0.1287)
OKLCHoklch(70.76% 0.147 119.2)
XYZxyz(28.2610, 36.6884, 8.4979)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD31 #4731AD
analogous
#AD8531 #97AD31 #59AD31
triadic
#97AD31 #3197AD #AD3197
tetradic
#97AD31 #31AD85 #4731AD #AD3159
square
#97AD31 #31AD85 #4731AD #AD3159
split-complementary
#97AD31 #3159AD #8531AD
monochromatic
#444E16 #6D7D23 #97AD31 #B6CD4E #CADA7E

Accessibility & contrast

On white

2.52
#97AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#97AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD31
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD31#FFFFFF#000000##000000
##97AD311.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#A0A495
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad31;
/* rgb */ color: rgb(151, 173, 49);
/* oklch */ color: oklch(70.8% 0.147 119.2);
Tailwind
colors: {
  custom: {
    50: '#b9c571',
    500: '#97ad31',
    950: '#000000',
  },
}
SCSS
$custom: #97ad31;
$custom-light: #b9c571;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad31",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 70.645,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.14735,
    "h": 119.2
  },
  "luminance": 0.36688
}

Semantic roles & 50–950 ramp

primary
#97AD31
secondary
#8477C3
accent
#49DF63
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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