#204F2F#204F2F

#204F2F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.075 H 151.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#204F2F
RGBrgb(32, 79, 47)
HSLhsl(139, 42%, 22%)
HSVhsv(139, 59%, 31%)
CMYKcmyk(59.5%, 0%, 40.5%, 69%)
CIE-LABlab(29.67, -24.34, 14.19)
CIE-LCHlch(29.67, 28.18, 149.76°)
OKLaboklab(38.53% -0.0661 0.0355)
OKLCHoklch(38.53% 0.075 151.8)
XYZxyz(3.9045, 6.1039, 3.6612)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F2F #4F2040
analogous
#294F20 #204F2F #204F47
triadic
#204F2F #2F204F #4F2F20
tetradic
#204F2F #20294F #4F2040 #4F4720
square
#204F2F #20294F #4F2040 #4F4720
split-complementary
#204F2F #47204F #4F2029
monochromatic
#09160D #0E2315 #204F2F #327B49 #43A663

Accessibility & contrast

On white

9.46
#204F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#204F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F2F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F2F#FFFFFF#000000##FFFFFF
##204F2F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#494431
Tritanopia (blue-blind)
#144E47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #204f2f;
/* rgb */ color: rgb(32, 79, 47);
/* oklch */ color: oklch(38.5% 0.075 151.8);
Tailwind
colors: {
  custom: {
    50: '#608167',
    500: '#204f2f',
    950: '#000000',
  },
}
SCSS
$custom: #204f2f;
$custom-light: #608167;
$custom-dark: #000000;
JSON
{
  "hex": "#204f2f",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 139.149,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.075,
    "h": 151.8
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#204F2F
secondary
#834770
accent
#56AAD2
background
#F5F7F6
surface
#EAEEEB
border
#C6C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #204F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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