#97C738#97C738

#97C738 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.9% C 0.175 H 126.5°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#97C738
RGBrgb(151, 199, 56)
HSLhsl(80, 56%, 50%)
HSVhsv(80, 72%, 78%)
CMYKcmyk(24.1%, 0%, 71.9%, 22%)
CIE-LABlab(74.64, -36.11, 62.67)
CIE-LCHlch(74.64, 72.33, 119.95°)
OKLaboklab(76.91% -0.1039 0.1402)
OKLCHoklch(76.91% 0.175 126.5)
XYZxyz(33.8999, 47.7111, 11.1638)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C738 #6838C7
analogous
#C7AF38 #97C738 #50C738
triadic
#97C738 #3897C7 #C73897
tetradic
#97C738 #38C7AF #6838C7 #C73850
square
#97C738 #38C7AF #6838C7 #C73850
split-complementary
#97C738 #3850C7 #AF38C7
monochromatic
#4F671D #73972B #97C738 #B0D468 #C9E298

Accessibility & contrast

On white

1.99
#97C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#97C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C738
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C738#FFFFFF#000000##000000
##97C7381.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA1E
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#9DBEAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #97c738;
/* rgb */ color: rgb(151, 199, 56);
/* oklch */ color: oklch(76.9% 0.175 126.5);
Tailwind
colors: {
  custom: {
    50: '#b9d878',
    500: '#97c738',
    950: '#000000',
  },
}
SCSS
$custom: #97c738;
$custom-light: #b9d878;
$custom-dark: #000000;
JSON
{
  "hex": "#97c738",
  "rgb": {
    "r": 151,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 80.14,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.17452,
    "h": 126.5
  },
  "luminance": 0.47712
}

Semantic roles & 50–950 ramp

primary
#97C738
secondary
#A38DCD
accent
#48DF7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #97C738

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

Preview Lab → · Contrast checker → · Palette generator →

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