#97B95C#97B95C

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

Color values

HEX#97B95C
RGBrgb(151, 185, 92)
HSLhsl(82, 40%, 54%)
HSVhsv(82, 50%, 73%)
CMYKcmyk(18.4%, 0%, 50.3%, 27.5%)
CIE-LABlab(70.91, -26.60, 43.10)
CIE-LCHlch(70.91, 50.65, 121.68°)
OKLaboklab(74% -0.0744 0.1027)
OKLCHoklch(74% 0.127 125.9)
XYZxyz(32.0431, 42.0496, 16.5514)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B95C #7E5CB9
analogous
#B9AC5C #97B95C #69B95C
triadic
#97B95C #5C97B9 #B95C97
tetradic
#97B95C #5CB9AC #7E5CB9 #B95C69
square
#97B95C #5CB9AC #7E5CB9 #B95C69
split-complementary
#97B95C #5C69B9 #AC5CB9
monochromatic
#566C2E #779741 #97B95C #B2CB87 #CEDEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B95C#FFFFFF#000000##000000
##97B95C1.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)
#C1AF54
Deuteranopia (green-blind)
#BDAD62
Tritanopia (blue-blind)
#9CB2A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b95c;
/* rgb */ color: rgb(151, 185, 92);
/* oklch */ color: oklch(74.0% 0.127 125.9);
Tailwind
colors: {
  custom: {
    50: '#b7ce8c',
    500: '#97b95c',
    950: '#000000',
  },
}
SCSS
$custom: #97b95c;
$custom-light: #b7ce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#97b95c",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 81.935,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.12685,
    "h": 125.9
  },
  "luminance": 0.4205
}

Semantic roles & 50–950 ramp

primary
#97B95C
secondary
#B3A5CC
accent
#58D084
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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