#97B751#97B751

#97B751 is a light, vivid yellow-green. Relative luminance 0.410; OKLCH L 73.4% C 0.135 H 124.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#97B751
RGBrgb(151, 183, 81)
HSLhsl(79, 41%, 52%)
HSVhsv(79, 56%, 72%)
CMYKcmyk(17.5%, 0%, 55.7%, 28.2%)
CIE-LABlab(70.20, -26.73, 47.53)
CIE-LCHlch(70.20, 54.53, 119.35°)
OKLaboklab(73.39% -0.0757 0.1114)
OKLCHoklch(73.39% 0.135 124.2)
XYZxyz(31.1813, 41.0401, 14.0618)
Luminance0.4104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B751 #7151B7
analogous
#B7A451 #97B751 #64B751
triadic
#97B751 #5197B7 #B75197
tetradic
#97B751 #51B7A4 #7151B7 #B75164
square
#97B751 #51B7A4 #7151B7 #B75164
split-complementary
#97B751 #5164B7 #A451B7
monochromatic
#526429 #758F3B #97B751 #B1C97C #CBDBA8

Accessibility & contrast

On white

2.28
#97B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#97B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B751
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B751#FFFFFF#000000##000000
##97B7511.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#BCAB57
Tritanopia (blue-blind)
#9DAFA0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #97b751;
/* rgb */ color: rgb(151, 183, 81);
/* oklch */ color: oklch(73.4% 0.135 124.2);
Tailwind
colors: {
  custom: {
    50: '#b8cc85',
    500: '#97b751',
    950: '#000000',
  },
}
SCSS
$custom: #97b751;
$custom-light: #b8cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#97b751",
  "rgb": {
    "r": 151,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 78.824,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.13471,
    "h": 124.2
  },
  "luminance": 0.4104
}

Semantic roles & 50–950 ramp

primary
#97B751
secondary
#AA9CC8
accent
#57D17D
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #97B751

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

Preview Lab → · Contrast checker → · Palette generator →

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