#97BA5F#97BA5F

#97BA5F is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.3% C 0.125 H 126.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#97BA5F
RGBrgb(151, 186, 95)
HSLhsl(83, 40%, 55%)
HSVhsv(83, 49%, 73%)
CMYKcmyk(18.8%, 0%, 48.9%, 27.1%)
CIE-LABlab(71.23, -26.76, 42.02)
CIE-LCHlch(71.23, 49.82, 122.49°)
OKLaboklab(74.27% -0.0746 0.1006)
OKLCHoklch(74.27% 0.125 126.6)
XYZxyz(32.3868, 42.5230, 17.3257)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA5F #825FBA
analogous
#BAB05F #97BA5F #69BA5F
triadic
#97BA5F #5F97BA #BA5F97
tetradic
#97BA5F #5FBAB0 #825FBA #BA5F69
square
#97BA5F #5FBAB0 #825FBA #BA5F69
split-complementary
#97BA5F #5F69BA #B05FBA
monochromatic
#576F30 #789A42 #97BA5F #B3CC8A #CFDFB5

Accessibility & contrast

On white

2.21
#97BA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#97BA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA5F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA5F#FFFFFF#000000##000000
##97BA5F1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B057
Deuteranopia (green-blind)
#BDAE64
Tritanopia (blue-blind)
#9CB3A5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97ba5f;
/* rgb */ color: rgb(151, 186, 95);
/* oklch */ color: oklch(74.3% 0.125 126.6);
Tailwind
colors: {
  custom: {
    50: '#b7ce8e',
    500: '#97ba5f',
    950: '#000000',
  },
}
SCSS
$custom: #97ba5f;
$custom-light: #b7ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba5f",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 83.077,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.12523,
    "h": 126.6
  },
  "luminance": 0.42523
}

Semantic roles & 50–950 ramp

primary
#97BA5F
secondary
#B6A7CD
accent
#58D086
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97BA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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