#97B257#97B257

#97B257 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.3% C 0.122 H 123.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#97B257
RGBrgb(151, 178, 87)
HSLhsl(78, 37%, 52%)
HSVhsv(78, 51%, 70%)
CMYKcmyk(15.2%, 0%, 51.1%, 30.2%)
CIE-LABlab(68.83, -23.69, 43.05)
CIE-LCHlch(68.83, 49.14, 118.83°)
OKLaboklab(72.31% -0.0667 0.1022)
OKLCHoklch(72.31% 0.122 123.1)
XYZxyz(30.4033, 39.1081, 14.9619)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B257 #7257B2
analogous
#B2A057 #97B257 #6AB257
triadic
#97B257 #5797B2 #B25797
tetradic
#97B257 #57B2A0 #7257B2 #B2576A
square
#97B257 #57B2A0 #7257B2 #B2576A
split-complementary
#97B257 #576AB2 #A057B2
monochromatic
#52622D #758C40 #97B257 #B1C581 #CBD8AB

Accessibility & contrast

On white

2.38
#97B257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#97B257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B257
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B257#FFFFFF#000000##000000
##97B2571.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA94F
Deuteranopia (green-blind)
#B7A85C
Tritanopia (blue-blind)
#9DAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b257;
/* rgb */ color: rgb(151, 178, 87);
/* oklch */ color: oklch(72.3% 0.122 123.1);
Tailwind
colors: {
  custom: {
    50: '#b7c989',
    500: '#97b257',
    950: '#000000',
  },
}
SCSS
$custom: #97b257;
$custom-light: #b7c989;
$custom-dark: #000000;
JSON
{
  "hex": "#97b257",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 77.802,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.12206,
    "h": 123.1
  },
  "luminance": 0.39108
}

Semantic roles & 50–950 ramp

primary
#97B257
secondary
#AA9EC6
accent
#5BCD7D
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #97B257

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

Preview Lab → · Contrast checker → · Palette generator →

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