#204F17#204F17

#204F17 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.100 H 140.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#204F17
RGBrgb(32, 79, 23)
HSLhsl(110, 55%, 20%)
HSVhsv(110, 71%, 31%)
CMYKcmyk(59.5%, 0%, 70.9%, 69%)
CIE-LABlab(29.31, -28.24, 27.42)
CIE-LCHlch(29.31, 39.36, 135.84°)
OKLaboklab(38.12% -0.0773 0.0635)
OKLCHoklch(38.12% 0.1 140.6)
XYZxyz(3.5461, 5.9606, 1.7741)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F17 #46174F
analogous
#3C4F17 #204F17 #174F2A
triadic
#204F17 #17204F #4F1720
tetradic
#204F17 #173C4F #46174F #4F2A17
square
#204F17 #173C4F #46174F #4F2A17
split-complementary
#204F17 #2A174F #4F173C
monochromatic
#0A1807 #0D2009 #204F17 #337E25 #46AE33

Accessibility & contrast

On white

9.58
#204F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#204F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F17
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F17#FFFFFF#000000##FFFFFF
##204F171.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514810
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#1A4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204f17;
/* rgb */ color: rgb(32, 79, 23);
/* oklch */ color: oklch(38.1% 0.100 140.6);
Tailwind
colors: {
  custom: {
    50: '#618157',
    500: '#204f17',
    950: '#000000',
  },
}
SCSS
$custom: #204f17;
$custom-light: #618157;
$custom-dark: #000000;
JSON
{
  "hex": "#204f17",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 110.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.10001,
    "h": 140.6
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#204F17
secondary
#7A3C86
accent
#4ADEC6
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #204F17

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

Preview Lab → · Contrast checker → · Palette generator →

#204F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva