#204028#204028

#204028 is a dark, muted green. Relative luminance 0.041; OKLCH L 33.9% C 0.057 H 150.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#204028
RGBrgb(32, 64, 40)
HSLhsl(135, 33%, 19%)
HSVhsv(135, 50%, 25%)
CMYKcmyk(50%, 0%, 37.5%, 74.9%)
CIE-LABlab(24.09, -18.15, 11.12)
CIE-LCHlch(24.09, 21.28, 148.51°)
OKLaboklab(33.92% -0.0494 0.028)
OKLCHoklch(33.92% 0.057 150.5)
XYZxyz(2.8119, 4.1269, 2.6555)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204028 #402038
analogous
#284020 #204028 #204038
triadic
#204028 #282040 #402820
tetradic
#204028 #202840 #402038 #403820
square
#204028 #202840 #402038 #403820
split-complementary
#204028 #382040 #402028
monochromatic
#0A140D #0C170F #204028 #346942 #49925B

Accessibility & contrast

On white

11.50
#204028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#204028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204028
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204028#FFFFFF#000000##FFFFFF
##2040281.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#3C3829
Tritanopia (blue-blind)
#1A3F3A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #204028;
/* rgb */ color: rgb(32, 64, 40);
/* oklch */ color: oklch(33.9% 0.057 150.5);
Tailwind
colors: {
  custom: {
    50: '#5d7562',
    500: '#204028',
    950: '#000000',
  },
}
SCSS
$custom: #204028;
$custom-light: #5d7562;
$custom-dark: #000000;
JSON
{
  "hex": "#204028",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 135,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33924,
    "c": 0.05681,
    "h": 150.5
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#204028
secondary
#744869
accent
#5EAFC9
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040805
muted
#797B79

Preview Lab

Preview with #204028

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

Preview Lab → · Contrast checker → · Palette generator →

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