#20974C#20974C

#20974C is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.151 H 150.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#20974C
RGBrgb(32, 151, 76)
HSLhsl(142, 65%, 36%)
HSVhsv(142, 79%, 59%)
CMYKcmyk(78.8%, 0%, 49.7%, 40.8%)
CIE-LABlab(55.03, -48.78, 30.51)
CIE-LCHlch(55.03, 57.54, 147.98°)
OKLaboklab(59.59% -0.131 0.0743)
OKLCHoklch(59.59% 0.151 150.4)
XYZxyz(12.9657, 22.9605, 10.5846)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20974C #97206B
analogous
#2F9720 #20974C #209787
triadic
#20974C #4C2097 #974C20
tetradic
#20974C #202F97 #97206B #978720
square
#20974C #202F97 #97206B #978720
split-complementary
#20974C #872097 #97202F
monochromatic
#0B3219 #156433 #20974C #2BC965 #56DB87

Accessibility & contrast

On white

3.76
#20974C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#20974C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20974C
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20974C#FFFFFF#000000##000000
##20974C1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A46
Deuteranopia (green-blind)
#8A8051
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20974c;
/* rgb */ color: rgb(32, 151, 76);
/* oklch */ color: oklch(59.6% 0.151 150.4);
Tailwind
colors: {
  custom: {
    50: '#70b77f',
    500: '#20974c',
    950: '#000000',
  },
}
SCSS
$custom: #20974c;
$custom-light: #70b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#20974c",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 142.185,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.15065,
    "h": 150.4
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#20974C
secondary
#BF5497
accent
#40AAE8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #20974C

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

Preview Lab → · Contrast checker → · Palette generator →

#20974C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva