#20741C#20741C

#20741C is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.146 H 142.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#20741C
RGBrgb(32, 116, 28)
HSLhsl(117, 61%, 28%)
HSVhsv(117, 76%, 45%)
CMYKcmyk(72.4%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.58, -42.43, 39.20)
CIE-LCHlch(42.58, 57.77, 137.27°)
OKLaboklab(49.11% -0.1154 0.0889)
OKLCHoklch(49.11% 0.146 142.4)
XYZxyz(7.0502, 12.8809, 3.2131)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20741C #701C74
analogous
#4C741C #20741C #1C7444
triadic
#20741C #1C2074 #741C20
tetradic
#20741C #1C4C74 #701C74 #74441C
square
#20741C #1C4C74 #701C74 #74441C
split-complementary
#20741C #441C74 #741C4C
monochromatic
#071906 #124310 #20741C #2EA528 #42D03B

Accessibility & contrast

On white

5.87
#20741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#20741C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20741C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20741C#FFFFFF#000000##FFFFFF
##20741C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#097063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20741c;
/* rgb */ color: rgb(32, 116, 28);
/* oklch */ color: oklch(49.1% 0.146 142.4);
Tailwind
colors: {
  custom: {
    50: '#699d5e',
    500: '#20741c',
    950: '#000000',
  },
}
SCSS
$custom: #20741c;
$custom-light: #699d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20741c",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 117.273,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.14567,
    "h": 142.4
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#20741C
secondary
#A443A8
accent
#44E4DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20741C

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

Preview Lab → · Contrast checker → · Palette generator →

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