#97B256#97B256

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

Color values

HEX#97B256
RGBrgb(151, 178, 86)
HSLhsl(78, 37%, 52%)
HSVhsv(78, 52%, 70%)
CMYKcmyk(15.2%, 0%, 51.7%, 30.2%)
CIE-LABlab(68.82, -23.80, 43.53)
CIE-LCHlch(68.82, 49.60, 118.67°)
OKLaboklab(72.3% -0.0671 0.1032)
OKLCHoklch(72.3% 0.123 123)
XYZxyz(30.3627, 39.0919, 14.7482)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B256 #7156B2
analogous
#B29F56 #97B256 #69B256
triadic
#97B256 #5697B2 #B25697
tetradic
#97B256 #56B29F #7156B2 #B25669
square
#97B256 #56B29F #7156B2 #B25669
split-complementary
#97B256 #5669B2 #9F56B2
monochromatic
#52612C #758B3F #97B256 #B1C580 #CBD8AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B256#FFFFFF#000000##000000
##97B2561.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)
#BBA94E
Deuteranopia (green-blind)
#B7A85B
Tritanopia (blue-blind)
#9DAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b256;
/* rgb */ color: rgb(151, 178, 86);
/* oklch */ color: oklch(72.3% 0.123 123.0);
Tailwind
colors: {
  custom: {
    50: '#b7c988',
    500: '#97b256',
    950: '#000000',
  },
}
SCSS
$custom: #97b256;
$custom-light: #b7c988;
$custom-dark: #000000;
JSON
{
  "hex": "#97b256",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 77.609,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.12307,
    "h": 123
  },
  "luminance": 0.39092
}

Semantic roles & 50–950 ramp

primary
#97B256
secondary
#AA9EC6
accent
#5ACD7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #97B256

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

Preview Lab → · Contrast checker → · Palette generator →

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