#20974B#20974B

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

Color values

HEX#20974B
RGBrgb(32, 151, 75)
HSLhsl(142, 65%, 36%)
HSVhsv(142, 79%, 59%)
CMYKcmyk(78.8%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.02, -48.95, 31.01)
CIE-LCHlch(55.02, 57.95, 147.64°)
OKLaboklab(59.58% -0.1315 0.0754)
OKLCHoklch(59.58% 0.152 150.2)
XYZxyz(12.9312, 22.9467, 10.4029)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20974B #97206C
analogous
#309720 #20974B #209786
triadic
#20974B #4B2097 #974B20
tetradic
#20974B #203097 #97206C #978620
square
#20974B #203097 #97206C #978620
split-complementary
#20974B #862097 #972030
monochromatic
#0B3219 #156432 #20974B #2BC964 #56DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20974B#FFFFFF#000000##000000
##20974B1.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)
#988945
Deuteranopia (green-blind)
#8A8051
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20974b;
/* rgb */ color: rgb(32, 151, 75);
/* oklch */ color: oklch(59.6% 0.152 150.2);
Tailwind
colors: {
  custom: {
    50: '#70b77f',
    500: '#20974b',
    950: '#000000',
  },
}
SCSS
$custom: #20974b;
$custom-light: #70b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#20974b",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 141.681,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.15157,
    "h": 150.2
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#20974B
secondary
#BF5498
accent
#40ABE8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #20974B

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

Preview Lab → · Contrast checker → · Palette generator →

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