#204C0C#204C0C

#204C0C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.104 H 138.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#204C0C
RGBrgb(32, 76, 12)
HSLhsl(101, 73%, 17%)
HSVhsv(101, 84%, 30%)
CMYKcmyk(57.9%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.12, -27.95, 31.09)
CIE-LCHlch(28.12, 41.80, 131.95°)
OKLaboklab(37.11% -0.0773 0.0695)
OKLCHoklch(37.11% 0.104 138)
XYZxyz(3.2464, 5.5023, 1.2387)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C0C #380C4C
analogous
#404C0C #204C0C #0C4C18
triadic
#204C0C #0C204C #4C0C20
tetradic
#204C0C #0C404C #380C4C #4C180C
square
#204C0C #0C404C #380C4C #4C180C
split-complementary
#204C0C #180C4C #4C0C40
monochromatic
#0B1A04 #0B1A04 #204C0C #368114 #4DB61D

Accessibility & contrast

On white

10.00
#204C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#204C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204C0C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C0C#FFFFFF#000000##FFFFFF
##204C0C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#1C4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #204c0c;
/* rgb */ color: rgb(32, 76, 12);
/* oklch */ color: oklch(37.1% 0.104 138.0);
Tailwind
colors: {
  custom: {
    50: '#617e50',
    500: '#204c0c',
    950: '#000000',
  },
}
SCSS
$custom: #204c0c;
$custom-light: #617e50;
$custom-dark: #000000;
JSON
{
  "hex": "#204c0c",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 101.25,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.10394,
    "h": 138
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#204C0C
secondary
#6B2C88
accent
#38EFB6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #204C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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