#97AE31#97AE31

#97AE31 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 71.0% C 0.149 H 119.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#97AE31
RGBrgb(151, 174, 49)
HSLhsl(71, 56%, 44%)
HSVhsv(71, 72%, 68%)
CMYKcmyk(13.2%, 0%, 71.8%, 31.8%)
CIE-LABlab(67.33, -24.71, 57.99)
CIE-LCHlch(67.33, 63.04, 113.08°)
OKLaboklab(70.99% -0.0731 0.1293)
OKLCHoklch(70.99% 0.149 119.5)
XYZxyz(28.4535, 37.0733, 8.5620)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AE31 #4831AE
analogous
#AE8631 #97AE31 #58AE31
triadic
#97AE31 #3197AE #AE3197
tetradic
#97AE31 #31AE86 #4831AE #AE3158
square
#97AE31 #31AE86 #4831AE #AE3158
split-complementary
#97AE31 #3158AE #8631AE
monochromatic
#444E16 #6E7E24 #97AE31 #B6CD4F #CADB7F

Accessibility & contrast

On white

2.50
#97AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#97AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AE31
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AE31#FFFFFF#000000##000000
##97AE311.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B7A43B
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #97ae31;
/* rgb */ color: rgb(151, 174, 49);
/* oklch */ color: oklch(71.0% 0.149 119.5);
Tailwind
colors: {
  custom: {
    50: '#b9c672',
    500: '#97ae31',
    950: '#000000',
  },
}
SCSS
$custom: #97ae31;
$custom-light: #b9c672;
$custom-dark: #000000;
JSON
{
  "hex": "#97ae31",
  "rgb": {
    "r": 151,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 71.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.14854,
    "h": 119.5
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

primary
#97AE31
secondary
#8577C4
accent
#48DF64
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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