#20942B#20942B

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

Color values

HEX#20942B
RGBrgb(32, 148, 43)
HSLhsl(126, 64%, 35%)
HSVhsv(126, 78%, 58%)
CMYKcmyk(78.4%, 0%, 70.9%, 42%)
CIE-LABlab(53.66, -52.11, 44.63)
CIE-LCHlch(53.66, 68.61, 139.42°)
OKLaboklab(58.34% -0.1409 0.1022)
OKLCHoklch(58.34% 0.174 144.1)
XYZxyz(11.6208, 21.6599, 5.8534)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20942B #942089
analogous
#4F9420 #20942B #209465
triadic
#20942B #2B2094 #942B20
tetradic
#20942B #204F94 #942089 #946520
square
#20942B #204F94 #942089 #946520
split-complementary
#20942B #652094 #94204F
monochromatic
#0A2F0E #15621C #20942B #2BC63A #54DA61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20942B#FFFFFF#000000##000000
##20942B1.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)
#97861B
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #20942b;
/* rgb */ color: rgb(32, 148, 43);
/* oklch */ color: oklch(58.3% 0.174 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#20942b',
    950: '#000000',
  },
}
SCSS
$custom: #20942b;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#20942b",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 125.69,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.1741,
    "h": 144.1
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20942B

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

Preview Lab → · Contrast checker → · Palette generator →

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