#20741B#20741B

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

Color values

HEX#20741B
RGBrgb(32, 116, 27)
HSLhsl(117, 62%, 28%)
HSVhsv(117, 77%, 45%)
CMYKcmyk(72.4%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.58, -42.52, 39.59)
CIE-LCHlch(42.58, 58.09, 137.04°)
OKLaboklab(49.1% -0.1157 0.0895)
OKLCHoklch(49.1% 0.146 142.3)
XYZxyz(7.0385, 12.8762, 3.1511)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20741B #6F1B74
analogous
#4C741B #20741B #1B7442
triadic
#20741B #1B2074 #741B20
tetradic
#20741B #1B4C74 #6F1B74 #74421B
square
#20741B #1B4C74 #6F1B74 #74421B
split-complementary
#20741B #421B74 #741B4C
monochromatic
#071906 #12420F #20741B #2EA627 #41D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20741B#FFFFFF#000000##FFFFFF
##20741B1.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)
#77690A
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#097063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #20741b;
/* rgb */ color: rgb(32, 116, 27);
/* oklch */ color: oklch(49.1% 0.146 142.3);
Tailwind
colors: {
  custom: {
    50: '#699d5e',
    500: '#20741b',
    950: '#000000',
  },
}
SCSS
$custom: #20741b;
$custom-light: #699d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20741b",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 116.629,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.14629,
    "h": 142.3
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#20741B
secondary
#A342A9
accent
#42E5DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20741B

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

Preview Lab → · Contrast checker → · Palette generator →

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