#20942C#20942C

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

Color values

HEX#20942C
RGBrgb(32, 148, 44)
HSLhsl(126, 64%, 35%)
HSVhsv(126, 78%, 58%)
CMYKcmyk(78.4%, 0%, 70.3%, 42%)
CIE-LABlab(53.67, -52.02, 44.22)
CIE-LCHlch(53.67, 68.28, 139.63°)
OKLaboklab(58.35% -0.1406 0.1015)
OKLCHoklch(58.35% 0.173 144.2)
XYZxyz(11.6394, 21.6674, 5.9512)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20942C #942088
analogous
#4E9420 #20942C #209466
triadic
#20942C #2C2094 #942C20
tetradic
#20942C #204E94 #942088 #946620
square
#20942C #204E94 #942088 #946620
split-complementary
#20942C #662094 #94204E
monochromatic
#0A2F0E #15621D #20942C #2BC63B #54DA62

Accessibility & contrast

On white

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

On black

5.33
#20942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20942C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20942C#FFFFFF#000000##000000
##20942C1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20942c;
/* rgb */ color: rgb(32, 148, 44);
/* oklch */ color: oklch(58.4% 0.173 144.2);
Tailwind
colors: {
  custom: {
    50: '#70b56b',
    500: '#20942c',
    950: '#000000',
  },
}
SCSS
$custom: #20942c;
$custom-light: #70b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#20942c",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 126.207,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.17343,
    "h": 144.2
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

primary
#20942C
secondary
#BE52B3
accent
#40D6E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20942C

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

Preview Lab → · Contrast checker → · Palette generator →

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