#204812#204812

#204812 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.094 H 138.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#204812
RGBrgb(32, 72, 18)
HSLhsl(104, 60%, 18%)
HSVhsv(104, 75%, 28%)
CMYKcmyk(55.6%, 0%, 75%, 71.8%)
CIE-LABlab(26.69, -25.62, 27.03)
CIE-LCHlch(26.69, 37.24, 133.46°)
OKLaboklab(35.95% -0.0706 0.062)
OKLCHoklch(35.95% 0.094 138.7)
XYZxyz(3.0221, 4.9853, 1.3752)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204812 #3A1248
analogous
#3B4812 #204812 #12481F
triadic
#204812 #122048 #481220
tetradic
#204812 #123B48 #3A1248 #481F12
square
#204812 #123B48 #3A1248 #481F12
split-complementary
#204812 #1F1248 #48123B
monochromatic
#0B1806 #0B1806 #204812 #36791E #4CAA2A

Accessibility & contrast

On white

10.52
#204812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#204812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204812
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204812#FFFFFF#000000##FFFFFF
##2048121.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#1D453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #204812;
/* rgb */ color: rgb(32, 72, 18);
/* oklch */ color: oklch(35.9% 0.094 138.7);
Tailwind
colors: {
  custom: {
    50: '#607b53',
    500: '#204812',
    950: '#000000',
  },
}
SCSS
$custom: #204812;
$custom-light: #607b53;
$custom-dark: #000000;
JSON
{
  "hex": "#204812",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 104.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.0939,
    "h": 138.7
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#204812
secondary
#6D3581
accent
#45E3BA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #204812

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

Preview Lab → · Contrast checker → · Palette generator →

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