#97C338#97C338

#97C338 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.0% C 0.170 H 125.7°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#97C338
RGBrgb(151, 195, 56)
HSLhsl(79, 55%, 49%)
HSVhsv(79, 71%, 76%)
CMYKcmyk(22.6%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.48, -34.29, 61.52)
CIE-LCHlch(73.48, 70.43, 119.13°)
OKLaboklab(75.97% -0.0989 0.1378)
OKLCHoklch(75.97% 0.17 125.7)
XYZxyz(32.9916, 45.8946, 10.8610)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C338 #6438C3
analogous
#C3AA38 #97C338 #52C338
triadic
#97C338 #3897C3 #C33897
tetradic
#97C338 #38C3AA #6438C3 #C33852
square
#97C338 #38C3AA #6438C3 #C33852
split-complementary
#97C338 #3852C3 #AA38C3
monochromatic
#4D641D #72932A #97C338 #B0D365 #C9E195

Accessibility & contrast

On white

2.06
#97C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#97C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C338
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C338#FFFFFF#000000##000000
##97C3381.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#9EBAA8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #97c338;
/* rgb */ color: rgb(151, 195, 56);
/* oklch */ color: oklch(76.0% 0.170 125.7);
Tailwind
colors: {
  custom: {
    50: '#b9d577',
    500: '#97c338',
    950: '#000000',
  },
}
SCSS
$custom: #97c338;
$custom-light: #b9d577;
$custom-dark: #000000;
JSON
{
  "hex": "#97c338",
  "rgb": {
    "r": 151,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 78.993,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7597,
    "c": 0.16961,
    "h": 125.7
  },
  "luminance": 0.45895
}

Semantic roles & 50–950 ramp

primary
#97C338
secondary
#A08BCC
accent
#49DF78
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #97C338

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

Preview Lab → · Contrast checker → · Palette generator →

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