#204F12#204F12

#204F12 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.104 H 139.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#204F12
RGBrgb(32, 79, 18)
HSLhsl(106, 63%, 19%)
HSVhsv(106, 77%, 31%)
CMYKcmyk(59.5%, 0%, 77.2%, 69%)
CIE-LABlab(29.27, -28.76, 29.73)
CIE-LCHlch(29.27, 41.37, 134.04°)
OKLaboklab(38.07% -0.0791 0.0676)
OKLCHoklch(38.07% 0.104 139.5)
XYZxyz(3.5007, 5.9424, 1.5347)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F12 #41124F
analogous
#3F4F12 #204F12 #124F23
triadic
#204F12 #12204F #4F1220
tetradic
#204F12 #123F4F #41124F #4F2312
square
#204F12 #123F4F #41124F #4F2312
split-complementary
#204F12 #23124F #4F123F
monochromatic
#0A1906 #0C1D07 #204F12 #34811D #48B329

Accessibility & contrast

On white

9.60
#204F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#204F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204F12
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F12#FFFFFF#000000##FFFFFF
##204F121.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514708
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#1B4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204f12;
/* rgb */ color: rgb(32, 79, 18);
/* oklch */ color: oklch(38.1% 0.104 139.5);
Tailwind
colors: {
  custom: {
    50: '#618154',
    500: '#204f12',
    950: '#000000',
  },
}
SCSS
$custom: #204f12;
$custom-light: #618154;
$custom-dark: #000000;
JSON
{
  "hex": "#204f12",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 106.23,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.10403,
    "h": 139.5
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#204F12
secondary
#753588
accent
#42E6C0
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #204F12

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

Preview Lab → · Contrast checker → · Palette generator →

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