#97B731#97B731

#97B731 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.1% C 0.159 H 122.3°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#97B731
RGBrgb(151, 183, 49)
HSLhsl(74, 58%, 45%)
HSVhsv(74, 73%, 72%)
CMYKcmyk(17.5%, 0%, 73.2%, 28.2%)
CIE-LABlab(69.94, -29.06, 60.54)
CIE-LCHlch(69.94, 67.15, 115.65°)
OKLaboklab(73.1% -0.0851 0.1347)
OKLCHoklch(73.1% 0.159 122.3)
XYZxyz(30.2508, 40.6679, 9.1612)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B731 #5131B7
analogous
#B79431 #97B731 #54B731
triadic
#97B731 #3197B7 #B73197
tetradic
#97B731 #31B794 #5131B7 #B73154
square
#97B731 #31B794 #5131B7 #B73154
split-complementary
#97B731 #3154B7 #9431B7
monochromatic
#475617 #6F8724 #97B731 #B3D154 #C9DE84

Accessibility & contrast

On white

2.30
#97B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#97B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B731
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B731#FFFFFF#000000##000000
##97B7311.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#9FAE9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #97b731;
/* rgb */ color: rgb(151, 183, 49);
/* oklch */ color: oklch(73.1% 0.159 122.3);
Tailwind
colors: {
  custom: {
    50: '#b9cc73',
    500: '#97b731',
    950: '#000000',
  },
}
SCSS
$custom: #97b731;
$custom-light: #b9cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#97b731",
  "rgb": {
    "r": 151,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 74.328,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.15931,
    "h": 122.3
  },
  "luminance": 0.40668
}

Semantic roles & 50–950 ramp

primary
#97B731
secondary
#8E7CC8
accent
#47E16C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B731

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

Preview Lab → · Contrast checker → · Palette generator →

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