#20942A#20942A

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

Color values

HEX#20942A
RGBrgb(32, 148, 42)
HSLhsl(125, 64%, 35%)
HSVhsv(125, 78%, 58%)
CMYKcmyk(78.4%, 0%, 71.6%, 42%)
CIE-LABlab(53.66, -52.21, 45.03)
CIE-LCHlch(53.66, 68.95, 139.22°)
OKLaboklab(58.33% -0.1412 0.1029)
OKLCHoklch(58.33% 0.175 143.9)
XYZxyz(11.6027, 21.6527, 5.7579)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20942A #94208A
analogous
#509420 #20942A #209464
triadic
#20942A #2A2094 #942A20
tetradic
#20942A #205094 #94208A #946420
square
#20942A #205094 #94208A #946420
split-complementary
#20942A #642094 #942050
monochromatic
#0A2F0D #15621C #20942A #2BC638 #54DA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #20942a;
/* rgb */ color: rgb(32, 148, 42);
/* oklch */ color: oklch(58.3% 0.175 143.9);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#20942a',
    950: '#000000',
  },
}
SCSS
$custom: #20942a;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#20942a",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 125.172,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.17477,
    "h": 143.9
  },
  "luminance": 0.21654
}

Semantic roles & 50–950 ramp

primary
#20942A
secondary
#BE52B4
accent
#40D9E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #20942A

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

Preview Lab → · Contrast checker → · Palette generator →

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