#204017#204017

#204017 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.6% C 0.077 H 139.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#204017
RGBrgb(32, 64, 23)
HSLhsl(107, 47%, 17%)
HSVhsv(107, 64%, 25%)
CMYKcmyk(50%, 0%, 64.1%, 74.9%)
CIE-LABlab(23.79, -21.17, 21.16)
CIE-LCHlch(23.79, 29.93, 135.01°)
OKLaboklab(33.58% -0.0581 0.05)
OKLCHoklch(33.58% 0.077 139.3)
XYZxyz(2.5836, 4.0356, 1.4532)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204017 #371740
analogous
#354017 #204017 #174023
triadic
#204017 #172040 #401720
tetradic
#204017 #173540 #371740 #402317
square
#204017 #173540 #371740 #402317
split-complementary
#204017 #231740 #401735
monochromatic
#0B1708 #0B1708 #204017 #376D27 #4D9A37

Accessibility & contrast

On white

11.62
#204017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#204017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204017
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204017#FFFFFF#000000##FFFFFF
##2040171.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A13
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#1E3E37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #204017;
/* rgb */ color: rgb(32, 64, 23);
/* oklch */ color: oklch(33.6% 0.077 139.3);
Tailwind
colors: {
  custom: {
    50: '#5e7555',
    500: '#204017',
    950: '#000000',
  },
}
SCSS
$custom: #204017;
$custom-light: #5e7555;
$custom-dark: #000000;
JSON
{
  "hex": "#204017",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 106.829,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.07666,
    "h": 139.3
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#204017
secondary
#6A3C77
accent
#51D7B9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #204017

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

Preview Lab → · Contrast checker → · Palette generator →

#204017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva