#97B451#97B451

#97B451 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.7% C 0.131 H 123.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#97B451
RGBrgb(151, 180, 81)
HSLhsl(78, 40%, 51%)
HSVhsv(78, 55%, 71%)
CMYKcmyk(16.1%, 0%, 55%, 29.4%)
CIE-LABlab(69.34, -25.27, 46.53)
CIE-LCHlch(69.34, 52.95, 118.50°)
OKLaboklab(72.69% -0.0716 0.1093)
OKLCHoklch(72.69% 0.131 123.2)
XYZxyz(30.5691, 39.8158, 13.8577)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B451 #6E51B4
analogous
#B49F51 #97B451 #65B451
triadic
#97B451 #5197B4 #B45197
tetradic
#97B451 #51B49F #6E51B4 #B45165
square
#97B451 #51B49F #6E51B4 #B45165
split-complementary
#97B451 #5165B4 #9F51B4
monochromatic
#51612A #748C3C #97B451 #B1C67C #CAD9A7

Accessibility & contrast

On white

2.34
#97B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#97B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B451
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B451#FFFFFF#000000##000000
##97B4511.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#9DAC9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b451;
/* rgb */ color: rgb(151, 180, 81);
/* oklch */ color: oklch(72.7% 0.131 123.2);
Tailwind
colors: {
  custom: {
    50: '#b8ca85',
    500: '#97b451',
    950: '#000000',
  },
}
SCSS
$custom: #97b451;
$custom-light: #b8ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#97b451",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 77.576,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72695,
    "c": 0.13065,
    "h": 123.2
  },
  "luminance": 0.39816
}

Semantic roles & 50–950 ramp

primary
#97B451
secondary
#A79BC6
accent
#58D07B
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B451

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

Preview Lab → · Contrast checker → · Palette generator →

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