#97B223#97B223

#97B223 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.8% C 0.161 H 120.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#97B223
RGBrgb(151, 178, 35)
HSLhsl(71, 67%, 42%)
HSVhsv(71, 80%, 70%)
CMYKcmyk(15.2%, 0%, 80.3%, 30.2%)
CIE-LABlab(68.42, -27.31, 63.56)
CIE-LCHlch(68.42, 69.18, 113.26°)
OKLaboklab(71.84% -0.0814 0.1387)
OKLCHoklch(71.84% 0.161 120.4)
XYZxyz(28.9868, 38.5415, 7.5020)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B223 #3E23B2
analogous
#B28623 #97B223 #4FB223
triadic
#97B223 #2397B2 #B22397
tetradic
#97B223 #23B286 #3E23B2 #B2234F
square
#97B223 #23B286 #3E23B2 #B2234F
split-complementary
#97B223 #234FB2 #8623B2
monochromatic
#404C0F #6C7F19 #97B223 #BAD83A #CCE26D

Accessibility & contrast

On white

2.41
#97B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#97B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B223
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B223#FFFFFF#000000##000000
##97B2231.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#A0A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b223;
/* rgb */ color: rgb(151, 178, 35);
/* oklch */ color: oklch(71.8% 0.161 120.4);
Tailwind
colors: {
  custom: {
    50: '#b9c96c',
    500: '#97b223',
    950: '#000000',
  },
}
SCSS
$custom: #97b223;
$custom-light: #b9c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#97b223",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 71.329,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71844,
    "c": 0.16082,
    "h": 120.4
  },
  "luminance": 0.38541
}

Semantic roles & 50–950 ramp

primary
#97B223
secondary
#7A68C9
accent
#3EEA5E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B223

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

Preview Lab → · Contrast checker → · Palette generator →

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