#20281E#20281E

#20281E is a dark, muted green. Relative luminance 0.019; OKLCH L 26.6% C 0.021 H 139.4°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#20281E
RGBrgb(32, 40, 30)
HSLhsl(108, 14%, 14%)
HSVhsv(108, 25%, 16%)
CMYKcmyk(20%, 0%, 25%, 84.3%)
CIE-LABlab(15.05, -6.01, 5.44)
CIE-LCHlch(15.05, 8.11, 137.84°)
OKLaboklab(26.55% -0.0163 0.014)
OKLCHoklch(26.55% 0.021 139.4)
XYZxyz(1.5887, 1.9184, 1.5146)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20281E #261E28
analogous
#25281E #20281E #1E2821
triadic
#20281E #1E2028 #281E20
tetradic
#20281E #1E2528 #261E28 #28211E
square
#20281E #1E2528 #261E28 #28211E
split-complementary
#20281E #211E28 #281E25
monochromatic
#0E110D #0E110D #20281E #3C4B38 #586E52

Accessibility & contrast

On white

15.18
#20281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#20281E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20281E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20281E#FFFFFF#000000##FFFFFF
##20281E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261D
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#202725
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20281e;
/* rgb */ color: rgb(32, 40, 30);
/* oklch */ color: oklch(26.6% 0.021 139.4);
Tailwind
colors: {
  custom: {
    50: '#5b6159',
    500: '#20281e',
    950: '#000000',
  },
}
SCSS
$custom: #20281e;
$custom-light: #5b6159;
$custom-dark: #000000;
JSON
{
  "hex": "#20281e",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 108,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26554,
    "c": 0.02146,
    "h": 139.4
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#20281E
secondary
#564959
accent
#71B7A9
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #20281E

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

Preview Lab → · Contrast checker → · Palette generator →

#20281E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva