#204C0F#204C0F

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

Color values

HEX#204C0F
RGBrgb(32, 76, 15)
HSLhsl(103, 67%, 18%)
HSVhsv(103, 80%, 30%)
CMYKcmyk(57.9%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.14, -27.71, 29.89)
CIE-LCHlch(28.14, 40.76, 132.83°)
OKLaboklab(37.13% -0.0764 0.0675)
OKLCHoklch(37.13% 0.102 138.6)
XYZxyz(3.2662, 5.5102, 1.3433)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204C0F #3B0F4C
analogous
#3E4C0F #204C0F #0F4C1D
triadic
#204C0F #0F204C #4C0F20
tetradic
#204C0F #0F3E4C #3B0F4C #4C1D0F
square
#204C0F #0F3E4C #3B0F4C #4C1D0F
split-complementary
#204C0F #1D0F4C #4C0F3E
monochromatic
#0B1A05 #0B1A05 #204C0F #367F19 #4BB223

Accessibility & contrast

On white

9.99
#204C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204C0F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204C0F#FFFFFF#000000##FFFFFF
##204C0F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204c0f;
/* rgb */ color: rgb(32, 76, 15);
/* oklch */ color: oklch(37.1% 0.102 138.6);
Tailwind
colors: {
  custom: {
    50: '#617e52',
    500: '#204c0f',
    950: '#000000',
  },
}
SCSS
$custom: #204c0f;
$custom-light: #617e52;
$custom-dark: #000000;
JSON
{
  "hex": "#204c0f",
  "rgb": {
    "r": 32,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 103.279,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.10196,
    "h": 138.6
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#204C0F
secondary
#6E3186
accent
#3EEABA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #204C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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