#204F18#204F18

#204F18 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.099 H 140.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#204F18
RGBrgb(32, 79, 24)
HSLhsl(111, 53%, 20%)
HSVhsv(111, 70%, 31%)
CMYKcmyk(59.5%, 0%, 69.6%, 69%)
CIE-LABlab(29.32, -28.12, 26.93)
CIE-LCHlch(29.32, 38.94, 136.24°)
OKLaboklab(38.13% -0.0769 0.0625)
OKLCHoklch(38.13% 0.099 140.9)
XYZxyz(3.5564, 5.9647, 1.8279)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F18 #47184F
analogous
#3B4F18 #204F18 #184F2C
triadic
#204F18 #18204F #4F1820
tetradic
#204F18 #183B4F #47184F #4F2C18
square
#204F18 #183B4F #47184F #4F2C18
split-complementary
#204F18 #2C184F #4F183B
monochromatic
#0A1707 #0D200A #204F18 #337E26 #46AD35

Accessibility & contrast

On white

9.58
#204F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204F18
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204F18#FFFFFF#000000##FFFFFF
##204F181.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514811
Deuteranopia (green-blind)
#4B441D
Tritanopia (blue-blind)
#1A4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204f18;
/* rgb */ color: rgb(32, 79, 24);
/* oklch */ color: oklch(38.1% 0.099 140.9);
Tailwind
colors: {
  custom: {
    50: '#618157',
    500: '#204f18',
    950: '#000000',
  },
}
SCSS
$custom: #204f18;
$custom-light: #618157;
$custom-dark: #000000;
JSON
{
  "hex": "#204f18",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 111.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.09914,
    "h": 140.9
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#204F18
secondary
#7B3D86
accent
#4BDDC8
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #204F18

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

Preview Lab → · Contrast checker → · Palette generator →

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