#97B95B#97B95B

#97B95B is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 74.0% C 0.128 H 125.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#97B95B
RGBrgb(151, 185, 91)
HSLhsl(82, 40%, 54%)
HSVhsv(82, 51%, 73%)
CMYKcmyk(18.4%, 0%, 50.8%, 27.5%)
CIE-LABlab(70.89, -26.70, 43.57)
CIE-LCHlch(70.89, 51.10, 121.50°)
OKLaboklab(73.98% -0.0748 0.1037)
OKLCHoklch(73.98% 0.128 125.8)
XYZxyz(31.9997, 42.0322, 16.3227)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B95B #7D5BB9
analogous
#B9AC5B #97B95B #68B95B
triadic
#97B95B #5B97B9 #B95B97
tetradic
#97B95B #5BB9AC #7D5BB9 #B95B68
square
#97B95B #5BB9AC #7D5BB9 #B95B68
split-complementary
#97B95B #5B68B9 #AC5BB9
monochromatic
#556C2E #779740 #97B95B #B2CB86 #CDDEB1

Accessibility & contrast

On white

2.23
#97B95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#97B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B95B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B95B#FFFFFF#000000##000000
##97B95B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF53
Deuteranopia (green-blind)
#BDAD61
Tritanopia (blue-blind)
#9CB2A3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b95b;
/* rgb */ color: rgb(151, 185, 91);
/* oklch */ color: oklch(74.0% 0.128 125.8);
Tailwind
colors: {
  custom: {
    50: '#b7ce8c',
    500: '#97b95b',
    950: '#000000',
  },
}
SCSS
$custom: #97b95b;
$custom-light: #b7ce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#97b95b",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 81.702,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.12784,
    "h": 125.8
  },
  "luminance": 0.42033
}

Semantic roles & 50–950 ramp

primary
#97B95B
secondary
#B2A4CC
accent
#58D083
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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