#20642F#20642F

#20642F is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.108 H 147.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#20642F
RGBrgb(32, 100, 47)
HSLhsl(133, 52%, 26%)
HSVhsv(133, 68%, 39%)
CMYKcmyk(68%, 0%, 53%, 60.8%)
CIE-LABlab(37.16, -33.83, 23.83)
CIE-LCHlch(37.16, 41.38, 144.85°)
OKLaboklab(44.69% -0.0913 0.0577)
OKLCHoklch(44.69% 0.108 147.7)
XYZxyz(5.6655, 9.6261, 4.2482)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20642F #642055
analogous
#336420 #20642F #206451
triadic
#20642F #2F2064 #642F20
tetradic
#20642F #203364 #642055 #645120
square
#20642F #203364 #642055 #645120
split-complementary
#20642F #512064 #642033
monochromatic
#07170B #113619 #20642F #2F9245 #3EC15B

Accessibility & contrast

On white

7.18
#20642F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#20642F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20642F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20642F#FFFFFF#000000##FFFFFF
##20642F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5D5533
Tritanopia (blue-blind)
#0B6258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20642f;
/* rgb */ color: rgb(32, 100, 47);
/* oklch */ color: oklch(44.7% 0.108 147.7);
Tailwind
colors: {
  custom: {
    50: '#649168',
    500: '#20642f',
    950: '#000000',
  },
}
SCSS
$custom: #20642f;
$custom-light: #649168;
$custom-dark: #000000;
JSON
{
  "hex": "#20642f",
  "rgb": {
    "r": 32,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 133.235,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.10805,
    "h": 147.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#20642F
secondary
#984886
accent
#4DBCDB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A

Preview Lab

Preview with #20642F

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

Preview Lab → · Contrast checker → · Palette generator →

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