#97C12F#97C12F

#97C12F is a light, vivid yellow-green. Relative luminance 0.449; OKLCH L 75.4% C 0.172 H 124.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#97C12F
RGBrgb(151, 193, 47)
HSLhsl(77, 61%, 47%)
HSVhsv(77, 76%, 76%)
CMYKcmyk(21.8%, 0%, 75.6%, 24.3%)
CIE-LABlab(72.84, -33.86, 63.99)
CIE-LCHlch(72.84, 72.39, 117.88°)
OKLaboklab(75.44% -0.0984 0.1416)
OKLCHoklch(75.44% 0.172 124.8)
XYZxyz(32.3458, 44.9241, 9.6559)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C12F #592FC1
analogous
#C1A22F #97C12F #4EC12F
triadic
#97C12F #2F97C1 #C12F97
tetradic
#97C12F #2FC1A2 #592FC1 #C12F4E
square
#97C12F #2FC1A2 #592FC1 #C12F4E
split-complementary
#97C12F #2F4EC1 #A22FC1
monochromatic
#4A5F17 #709023 #97C12F #B2D657 #C8E288

Accessibility & contrast

On white

2.10
#97C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#97C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C12F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C12F#FFFFFF#000000##000000
##97C12F1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB40A
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#9EB7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #97c12f;
/* rgb */ color: rgb(151, 193, 47);
/* oklch */ color: oklch(75.4% 0.172 124.8);
Tailwind
colors: {
  custom: {
    50: '#bad473',
    500: '#97c12f',
    950: '#000000',
  },
}
SCSS
$custom: #97c12f;
$custom-light: #bad473;
$custom-dark: #000000;
JSON
{
  "hex": "#97c12f",
  "rgb": {
    "r": 151,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 77.26,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.17243,
    "h": 124.8
  },
  "luminance": 0.44924
}

Semantic roles & 50–950 ramp

primary
#97C12F
secondary
#9680CC
accent
#44E472
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #97C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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