#20942D#20942D

#20942D is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.173 H 144.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#20942D
RGBrgb(32, 148, 45)
HSLhsl(127, 64%, 35%)
HSVhsv(127, 78%, 58%)
CMYKcmyk(78.4%, 0%, 69.6%, 42%)
CIE-LABlab(53.68, -51.92, 43.81)
CIE-LCHlch(53.68, 67.93, 139.84°)
OKLaboklab(58.36% -0.1403 0.1007)
OKLCHoklch(58.36% 0.173 144.3)
XYZxyz(11.6584, 21.6750, 6.0514)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20942D #942087
analogous
#4D9420 #20942D #209467
triadic
#20942D #2D2094 #942D20
tetradic
#20942D #204D94 #942087 #946720
square
#20942D #204D94 #942087 #946720
split-complementary
#20942D #672094 #94204D
monochromatic
#0A2F0E #15621E #20942D #2BC63C #54DA63

Accessibility & contrast

On white

3.94
#20942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#20942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20942D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20942D#FFFFFF#000000##000000
##20942D1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #20942d;
/* rgb */ color: rgb(32, 148, 45);
/* oklch */ color: oklch(58.4% 0.173 144.3);
Tailwind
colors: {
  custom: {
    50: '#70b56b',
    500: '#20942d',
    950: '#000000',
  },
}
SCSS
$custom: #20942d;
$custom-light: #70b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#20942d",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 126.724,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.17274,
    "h": 144.3
  },
  "luminance": 0.21676
}

Semantic roles & 50–950 ramp

primary
#20942D
secondary
#BE52B2
accent
#40D5E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20942D

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

Preview Lab → · Contrast checker → · Palette generator →

#20942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva