#97C042#97C042

#97C042 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.3% C 0.159 H 125.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#97C042
RGBrgb(151, 192, 66)
HSLhsl(80, 50%, 51%)
HSVhsv(80, 66%, 75%)
CMYKcmyk(21.4%, 0%, 65.6%, 24.7%)
CIE-LABlab(72.68, -32.24, 56.84)
CIE-LCHlch(72.68, 65.35, 119.56°)
OKLaboklab(75.34% -0.0924 0.1294)
OKLCHoklch(75.34% 0.159 125.5)
XYZxyz(32.5956, 44.6715, 12.0584)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C042 #6B42C0
analogous
#C0AA42 #97C042 #58C042
triadic
#97C042 #4297C0 #C04297
tetradic
#97C042 #42C0AA #6B42C0 #C04258
square
#97C042 #42C0AA #6B42C0 #C04258
split-complementary
#97C042 #4258C0 #AA42C0
monochromatic
#506622 #749431 #97C042 #B0CF70 #CADF9E

Accessibility & contrast

On white

2.11
#97C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#97C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C042
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C042#FFFFFF#000000##000000
##97C0421.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#C4B24C
Tritanopia (blue-blind)
#9DB7A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #97c042;
/* rgb */ color: rgb(151, 192, 66);
/* oklch */ color: oklch(75.3% 0.159 125.5);
Tailwind
colors: {
  custom: {
    50: '#b9d37d',
    500: '#97c042',
    950: '#000000',
  },
}
SCSS
$custom: #97c042;
$custom-light: #b9d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#97c042",
  "rgb": {
    "r": 151,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 79.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75343,
    "c": 0.15903,
    "h": 125.5
  },
  "luminance": 0.44672
}

Semantic roles & 50–950 ramp

primary
#97C042
secondary
#A593CB
accent
#4EDA7C
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #97C042

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

Preview Lab → · Contrast checker → · Palette generator →

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