#204F0F#204F0F

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

Color values

HEX#204F0F
RGBrgb(32, 79, 15)
HSLhsl(104, 68%, 18%)
HSVhsv(104, 81%, 31%)
CMYKcmyk(59.5%, 0%, 81%, 69%)
CIE-LABlab(29.24, -29.02, 31.00)
CIE-LCHlch(29.24, 42.46, 133.11°)
OKLaboklab(38.04% -0.08 0.0698)
OKLCHoklch(38.04% 0.106 138.9)
XYZxyz(3.4777, 5.9332, 1.4138)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204F0F #3E0F4F
analogous
#404F0F #204F0F #0F4F1E
triadic
#204F0F #0F204F #4F0F20
tetradic
#204F0F #0F404F #3E0F4F #4F1E0F
square
#204F0F #0F404F #3E0F4F #4F1E0F
split-complementary
#204F0F #1E0F4F #4F0F40
monochromatic
#0A1A05 #0B1C05 #204F0F #358219 #4AB623

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##204F0F#FFFFFF#000000##FFFFFF
##204F0F1.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)
#524704
Deuteranopia (green-blind)
#4C4316
Tritanopia (blue-blind)
#1B4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #204f0f;
/* rgb */ color: rgb(32, 79, 15);
/* oklch */ color: oklch(38.0% 0.106 138.9);
Tailwind
colors: {
  custom: {
    50: '#628152',
    500: '#204f0f',
    950: '#000000',
  },
}
SCSS
$custom: #204f0f;
$custom-light: #628152;
$custom-dark: #000000;
JSON
{
  "hex": "#204f0f",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 104.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.10616,
    "h": 138.9
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#204F0F
secondary
#723189
accent
#3DEBBD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #204F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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