#97B258#97B258

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

Color values

HEX#97B258
RGBrgb(151, 178, 88)
HSLhsl(78, 37%, 52%)
HSVhsv(78, 51%, 70%)
CMYKcmyk(15.2%, 0%, 50.6%, 30.2%)
CIE-LABlab(68.84, -23.59, 42.58)
CIE-LCHlch(68.84, 48.68, 118.99°)
OKLaboklab(72.32% -0.0663 0.1013)
OKLCHoklch(72.32% 0.121 123.2)
XYZxyz(30.4444, 39.1246, 15.1785)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B258 #7358B2
analogous
#B2A058 #97B258 #6AB258
triadic
#97B258 #5897B2 #B25897
tetradic
#97B258 #58B2A0 #7358B2 #B2586A
square
#97B258 #58B2A0 #7358B2 #B2586A
split-complementary
#97B258 #586AB2 #A058B2
monochromatic
#52622D #768C41 #97B258 #B1C582 #CBD9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B258#FFFFFF#000000##000000
##97B2581.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)
#BBA950
Deuteranopia (green-blind)
#B7A85D
Tritanopia (blue-blind)
#9DAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b258;
/* rgb */ color: rgb(151, 178, 88);
/* oklch */ color: oklch(72.3% 0.121 123.2);
Tailwind
colors: {
  custom: {
    50: '#b7c989',
    500: '#97b258',
    950: '#000000',
  },
}
SCSS
$custom: #97b258;
$custom-light: #b7c989;
$custom-dark: #000000;
JSON
{
  "hex": "#97b258",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 78,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72321,
    "c": 0.12105,
    "h": 123.2
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97B258

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

Preview Lab → · Contrast checker → · Palette generator →

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