#20741F#20741F

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

Color values

HEX#20741F
RGBrgb(32, 116, 31)
HSLhsl(119, 58%, 29%)
HSVhsv(119, 73%, 45%)
CMYKcmyk(72.4%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.61, -42.15, 37.99)
CIE-LCHlch(42.61, 56.75, 137.97°)
OKLaboklab(49.13% -0.1145 0.0867)
OKLCHoklch(49.13% 0.144 142.9)
XYZxyz(7.0880, 12.8960, 3.4117)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20741F #731F74
analogous
#4B741F #20741F #1F7449
triadic
#20741F #1F2074 #741F20
tetradic
#20741F #1F4B74 #731F74 #74491F
square
#20741F #1F4B74 #731F74 #74491F
split-complementary
#20741F #491F74 #741F4B
monochromatic
#071806 #134412 #20741F #2DA42C #43CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20741F#FFFFFF#000000##FFFFFF
##20741F1.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)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#087063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20741f;
/* rgb */ color: rgb(32, 116, 31);
/* oklch */ color: oklch(49.1% 0.144 142.9);
Tailwind
colors: {
  custom: {
    50: '#699d60',
    500: '#20741f',
    950: '#000000',
  },
}
SCSS
$custom: #20741f;
$custom-light: #699d60;
$custom-dark: #000000;
JSON
{
  "hex": "#20741f",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 119.294,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.14366,
    "h": 142.9
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#20741F
secondary
#A747A8
accent
#47E1DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20741F

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

Preview Lab → · Contrast checker → · Palette generator →

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