#204012#204012

#204012 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.5% C 0.082 H 137.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#204012
RGBrgb(32, 64, 18)
HSLhsl(102, 56%, 16%)
HSVhsv(102, 72%, 25%)
CMYKcmyk(50%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.73, -21.79, 23.82)
CIE-LCHlch(23.73, 32.29, 132.46°)
OKLaboklab(33.52% -0.0602 0.0552)
OKLCHoklch(33.52% 0.082 137.5)
XYZxyz(2.5382, 4.0174, 1.2138)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204012 #321240
analogous
#374012 #204012 #12401B
triadic
#204012 #122040 #401220
tetradic
#204012 #123740 #321240 #401B12
square
#204012 #123740 #321240 #401B12
split-complementary
#204012 #1B1240 #401237
monochromatic
#0C1807 #0C1807 #204012 #38701F #50A02D

Accessibility & contrast

On white

11.64
#204012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#204012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204012
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204012#FFFFFF#000000##FFFFFF
##2040121.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#3E3716
Tritanopia (blue-blind)
#1E3E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #204012;
/* rgb */ color: rgb(32, 64, 18);
/* oklch */ color: oklch(33.5% 0.082 137.5);
Tailwind
colors: {
  custom: {
    50: '#5f7552',
    500: '#204012',
    950: '#000000',
  },
}
SCSS
$custom: #204012;
$custom-light: #5f7552;
$custom-dark: #000000;
JSON
{
  "hex": "#204012",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 101.739,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33515,
    "c": 0.08163,
    "h": 137.5
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#204012
secondary
#643579
accent
#48DFB1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #204012

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

Preview Lab → · Contrast checker → · Palette generator →

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