#20942F#20942F

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

Color values

HEX#20942F
RGBrgb(32, 148, 47)
HSLhsl(128, 64%, 35%)
HSVhsv(128, 78%, 58%)
CMYKcmyk(78.4%, 0%, 68.2%, 42%)
CIE-LABlab(53.70, -51.71, 42.98)
CIE-LCHlch(53.70, 67.24, 140.27°)
OKLaboklab(58.38% -0.1397 0.0992)
OKLCHoklch(58.38% 0.171 144.6)
XYZxyz(11.6979, 21.6907, 6.2590)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20942F #942085
analogous
#4B9420 #20942F #209469
triadic
#20942F #2F2094 #942F20
tetradic
#20942F #204B94 #942085 #946920
square
#20942F #204B94 #942085 #946920
split-complementary
#20942F #692094 #94204B
monochromatic
#0A2F0F #15621F #20942F #2BC63F #54DA66

Accessibility & contrast

On white

3.93
#20942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##20942F#FFFFFF#000000##000000
##20942F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #20942f;
/* rgb */ color: rgb(32, 148, 47);
/* oklch */ color: oklch(58.4% 0.171 144.6);
Tailwind
colors: {
  custom: {
    50: '#70b56c',
    500: '#20942f',
    950: '#000000',
  },
}
SCSS
$custom: #20942f;
$custom-light: #70b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#20942f",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 127.759,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.17133,
    "h": 144.6
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#20942F
secondary
#BE52B0
accent
#40D2E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #20942F

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

Preview Lab → · Contrast checker → · Palette generator →

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