#97B951#97B951

#97B951 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.9% C 0.137 H 124.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#97B951
RGBrgb(151, 185, 81)
HSLhsl(80, 43%, 52%)
HSVhsv(80, 56%, 73%)
CMYKcmyk(18.4%, 0%, 56.2%, 27.5%)
CIE-LABlab(70.78, -27.69, 48.20)
CIE-LCHlch(70.78, 55.59, 119.88°)
OKLaboklab(73.86% -0.0784 0.1129)
OKLCHoklch(73.86% 0.137 124.8)
XYZxyz(31.5967, 41.8710, 14.2003)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B951 #7351B9
analogous
#B9A751 #97B951 #63B951
triadic
#97B951 #5197B9 #B95197
tetradic
#97B951 #51B9A7 #7351B9 #B95163
square
#97B951 #51B9A7 #7351B9 #B95163
split-complementary
#97B951 #5163B9 #A751B9
monochromatic
#526629 #76923B #97B951 #B1CB7D #CBDCA8

Accessibility & contrast

On white

2.24
#97B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#97B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B951
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B951#FFFFFF#000000##000000
##97B9511.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE46
Deuteranopia (green-blind)
#BEAD58
Tritanopia (blue-blind)
#9DB1A2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b951;
/* rgb */ color: rgb(151, 185, 81);
/* oklch */ color: oklch(73.9% 0.137 124.8);
Tailwind
colors: {
  custom: {
    50: '#b8ce85',
    500: '#97b951',
    950: '#000000',
  },
}
SCSS
$custom: #97b951;
$custom-light: #b8ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#97b951",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 79.615,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.13741,
    "h": 124.8
  },
  "luminance": 0.41871
}

Semantic roles & 50–950 ramp

primary
#97B951
secondary
#AB9CCA
accent
#55D27E
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B951

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

Preview Lab → · Contrast checker → · Palette generator →

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