#20974E#20974E

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

Color values

HEX#20974E
RGBrgb(32, 151, 78)
HSLhsl(143, 65%, 36%)
HSVhsv(143, 79%, 59%)
CMYKcmyk(78.8%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.06, -48.44, 29.49)
CIE-LCHlch(55.06, 56.71, 148.67°)
OKLaboklab(59.63% -0.1301 0.0721)
OKLCHoklch(59.63% 0.149 151)
XYZxyz(13.0363, 22.9888, 10.9565)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20974E #972069
analogous
#2E9720 #20974E #209789
triadic
#20974E #4E2097 #974E20
tetradic
#20974E #202E97 #972069 #978920
square
#20974E #202E97 #972069 #978920
split-complementary
#20974E #892097 #97202E
monochromatic
#0B321A #156434 #20974E #2BC968 #56DB8A

Accessibility & contrast

On white

3.75
#20974E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#20974E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20974E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20974E#FFFFFF#000000##000000
##20974E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A48
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20974e;
/* rgb */ color: rgb(32, 151, 78);
/* oklch */ color: oklch(59.6% 0.149 151.0);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#20974e',
    950: '#000000',
  },
}
SCSS
$custom: #20974e;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#20974e",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 143.193,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.14878,
    "h": 151
  },
  "luminance": 0.2299
}

Semantic roles & 50–950 ramp

primary
#20974E
secondary
#BF5496
accent
#40A7E8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #20974E

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

Preview Lab → · Contrast checker → · Palette generator →

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