#97B631#97B631

#97B631 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.158 H 122.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#97B631
RGBrgb(151, 182, 49)
HSLhsl(74, 58%, 45%)
HSVhsv(74, 73%, 71%)
CMYKcmyk(17%, 0%, 73.1%, 28.6%)
CIE-LABlab(69.65, -28.59, 60.26)
CIE-LCHlch(69.65, 66.69, 115.38°)
OKLaboklab(72.86% -0.0838 0.1341)
OKLCHoklch(72.86% 0.158 122)
XYZxyz(30.0453, 40.2569, 9.0926)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B631 #5031B6
analogous
#B69231 #97B631 #54B631
triadic
#97B631 #3197B6 #B63197
tetradic
#97B631 #31B692 #5031B6 #B63154
square
#97B631 #31B692 #5031B6 #B63154
split-complementary
#97B631 #3154B6 #9231B6
monochromatic
#475617 #6F8624 #97B631 #B4D153 #C9DE84

Accessibility & contrast

On white

2.32
#97B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#97B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B631
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B631#FFFFFF#000000##000000
##97B6311.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#9FAD9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #97b631;
/* rgb */ color: rgb(151, 182, 49);
/* oklch */ color: oklch(72.9% 0.158 122.0);
Tailwind
colors: {
  custom: {
    50: '#b9cc72',
    500: '#97b631',
    950: '#000000',
  },
}
SCSS
$custom: #97b631;
$custom-light: #b9cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#97b631",
  "rgb": {
    "r": 151,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 73.985,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72863,
    "c": 0.1581,
    "h": 122
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

primary
#97B631
secondary
#8D7CC7
accent
#47E16B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B631

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

Preview Lab → · Contrast checker → · Palette generator →

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