#97B225#97B225

#97B225 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.160 H 120.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#97B225
RGBrgb(151, 178, 37)
HSLhsl(71, 66%, 42%)
HSVhsv(71, 79%, 70%)
CMYKcmyk(15.2%, 0%, 79.2%, 30.2%)
CIE-LABlab(68.43, -27.23, 62.99)
CIE-LCHlch(68.43, 68.63, 113.38°)
OKLaboklab(71.85% -0.0811 0.1378)
OKLCHoklch(71.85% 0.16 120.5)
XYZxyz(29.0174, 38.5538, 7.6628)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B225 #4025B2
analogous
#B28625 #97B225 #51B225
triadic
#97B225 #2597B2 #B22597
tetradic
#97B225 #25B286 #4025B2 #B22551
square
#97B225 #25B286 #4025B2 #B22551
split-complementary
#97B225 #2551B2 #8625B2
monochromatic
#414D10 #6C7F1A #97B225 #B9D73D #CCE170

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B225#FFFFFF#000000##000000
##97B2251.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)
#BAA733
Tritanopia (blue-blind)
#A0A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b225;
/* rgb */ color: rgb(151, 178, 37);
/* oklch */ color: oklch(71.9% 0.160 120.5);
Tailwind
colors: {
  custom: {
    50: '#b9c96c',
    500: '#97b225',
    950: '#000000',
  },
}
SCSS
$custom: #97b225;
$custom-light: #b9c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#97b225",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 71.489,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71854,
    "c": 0.15989,
    "h": 120.5
  },
  "luminance": 0.38554
}

Semantic roles & 50–950 ramp

primary
#97B225
secondary
#7D6BC8
accent
#3FE960
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97B225

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

Preview Lab → · Contrast checker → · Palette generator →

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