#97C42F#97C42F

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

Color values

HEX#97C42F
RGBrgb(151, 196, 47)
HSLhsl(78, 61%, 48%)
HSVhsv(78, 76%, 77%)
CMYKcmyk(23%, 0%, 76%, 23.1%)
CIE-LABlab(73.72, -35.23, 64.81)
CIE-LCHlch(73.72, 73.77, 118.53°)
OKLaboklab(76.15% -0.1022 0.1433)
OKLCHoklch(76.15% 0.176 125.5)
XYZxyz(33.0158, 46.2639, 9.8792)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C42F #5C2FC4
analogous
#C4A72F #97C42F #4CC42F
triadic
#97C42F #2F97C4 #C42F97
tetradic
#97C42F #2FC4A7 #5C2FC4 #C42F4C
square
#97C42F #2FC4A7 #5C2FC4 #C42F4C
split-complementary
#97C42F #2F4CC4 #A72FC4
monochromatic
#4B6117 #719323 #97C42F #B1D759 #C8E38A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97C42F#FFFFFF#000000##000000
##97C42F1.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)
#CFB707
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#9EBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #97c42f;
/* rgb */ color: rgb(151, 196, 47);
/* oklch */ color: oklch(76.1% 0.176 125.5);
Tailwind
colors: {
  custom: {
    50: '#bad673',
    500: '#97c42f',
    950: '#000000',
  },
}
SCSS
$custom: #97c42f;
$custom-light: #bad673;
$custom-dark: #000000;
JSON
{
  "hex": "#97c42f",
  "rgb": {
    "r": 151,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 78.121,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76147,
    "c": 0.17601,
    "h": 125.5
  },
  "luminance": 0.46264
}

Semantic roles & 50–950 ramp

primary
#97C42F
secondary
#9982CD
accent
#43E474
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #97C42F

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

Preview Lab → · Contrast checker → · Palette generator →

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