#97C42B#97C42B

#97C42B is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.1% C 0.178 H 125.3°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#97C42B
RGBrgb(151, 196, 43)
HSLhsl(78, 64%, 47%)
HSVhsv(78, 78%, 77%)
CMYKcmyk(23%, 0%, 78.1%, 23.1%)
CIE-LABlab(73.70, -35.42, 66.03)
CIE-LCHlch(73.70, 74.93, 118.21°)
OKLaboklab(76.13% -0.103 0.1452)
OKLCHoklch(76.13% 0.178 125.3)
XYZxyz(32.9387, 46.2331, 9.4736)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C42B #582BC4
analogous
#C4A52B #97C42B #4BC42B
triadic
#97C42B #2B97C4 #C42B97
tetradic
#97C42B #2BC4A5 #582BC4 #C42B4B
square
#97C42B #2BC4A5 #582BC4 #C42B4B
split-complementary
#97C42B #2B4BC4 #A52BC4
monochromatic
#4A6015 #709220 #97C42B #B2D953 #C8E485

Accessibility & contrast

On white

2.05
#97C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#97C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C42B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C42B#FFFFFF#000000##000000
##97C42B1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#9EBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #97c42b;
/* rgb */ color: rgb(151, 196, 43);
/* oklch */ color: oklch(76.1% 0.178 125.3);
Tailwind
colors: {
  custom: {
    50: '#bad671',
    500: '#97c42b',
    950: '#000000',
  },
}
SCSS
$custom: #97c42b;
$custom-light: #bad671;
$custom-dark: #000000;
JSON
{
  "hex": "#97c42b",
  "rgb": {
    "r": 151,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 77.647,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76125,
    "c": 0.17804,
    "h": 125.3
  },
  "luminance": 0.46234
}

Semantic roles & 50–950 ramp

primary
#97C42B
secondary
#957DCE
accent
#41E772
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #97C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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