#97B431#97B431

#97B431 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.156 H 121.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#97B431
RGBrgb(151, 180, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 73%, 71%)
CMYKcmyk(16.1%, 0%, 72.8%, 29.4%)
CIE-LABlab(69.07, -27.63, 59.69)
CIE-LCHlch(69.07, 65.78, 114.84°)
OKLaboklab(72.4% -0.0812 0.1329)
OKLCHoklch(72.4% 0.156 121.4)
XYZxyz(29.6386, 39.4436, 8.9571)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B431 #4E31B4
analogous
#B48F31 #97B431 #56B431
triadic
#97B431 #3197B4 #B43197
tetradic
#97B431 #31B48F #4E31B4 #B43156
square
#97B431 #31B48F #4E31B4 #B43156
split-complementary
#97B431 #3156B4 #8F31B4
monochromatic
#465417 #6F8424 #97B431 #B4D052 #C9DD82

Accessibility & contrast

On white

2.36
#97B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#97B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B431
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B431#FFFFFF#000000##000000
##97B4311.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b431;
/* rgb */ color: rgb(151, 180, 49);
/* oklch */ color: oklch(72.4% 0.156 121.4);
Tailwind
colors: {
  custom: {
    50: '#b9ca72',
    500: '#97b431',
    950: '#000000',
  },
}
SCSS
$custom: #97b431;
$custom-light: #b9ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#97b431",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 73.282,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.15571,
    "h": 121.4
  },
  "luminance": 0.39444
}

Semantic roles & 50–950 ramp

primary
#97B431
secondary
#8B7BC6
accent
#47E069
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B431

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

Preview Lab → · Contrast checker → · Palette generator →

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