#20741A#20741A

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

Color values

HEX#20741A
RGBrgb(32, 116, 26)
HSLhsl(116, 63%, 28%)
HSVhsv(116, 78%, 45%)
CMYKcmyk(72.4%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.57, -42.60, 39.97)
CIE-LCHlch(42.57, 58.42, 136.83°)
OKLaboklab(49.09% -0.116 0.0902)
OKLCHoklch(49.09% 0.147 142.1)
XYZxyz(7.0271, 12.8717, 3.0912)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20741A #6E1A74
analogous
#4D741A #20741A #1A7441
triadic
#20741A #1A2074 #741A20
tetradic
#20741A #1A4D74 #6E1A74 #74411A
square
#20741A #1A4D74 #6E1A74 #74411A
split-complementary
#20741A #411A74 #741A4D
monochromatic
#071906 #12420F #20741A #2EA625 #41D236

Accessibility & contrast

On white

5.88
#20741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#20741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20741A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20741A#FFFFFF#000000##FFFFFF
##20741A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#0A7063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #20741a;
/* rgb */ color: rgb(32, 116, 26);
/* oklch */ color: oklch(49.1% 0.147 142.1);
Tailwind
colors: {
  custom: {
    50: '#699d5d',
    500: '#20741a',
    950: '#000000',
  },
}
SCSS
$custom: #20741a;
$custom-light: #699d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20741a",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 116,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.14691,
    "h": 142.1
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#20741A
secondary
#A241A9
accent
#41E6DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #20741A

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

Preview Lab → · Contrast checker → · Palette generator →

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