#21391C#21391C

#21391C is a dark, muted green. Relative luminance 0.033; OKLCH L 31.6% C 0.058 H 140.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#21391C
RGBrgb(33, 57, 28)
HSLhsl(110, 34%, 17%)
HSVhsv(110, 51%, 22%)
CMYKcmyk(42.1%, 0%, 50.9%, 77.6%)
CIE-LABlab(21.33, -16.30, 15.17)
CIE-LCHlch(21.33, 22.26, 137.05°)
OKLaboklab(31.62% -0.0445 0.0371)
OKLCHoklch(31.62% 0.058 140.2)
XYZxyz(2.2998, 3.3333, 1.6206)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21391C #341C39
analogous
#30391C #21391C #1C3926
triadic
#21391C #1C2139 #391C21
tetradic
#21391C #1C3039 #341C39 #39261C
square
#21391C #1C3039 #341C39 #39261C
split-complementary
#21391C #261C39 #391C30
monochromatic
#0C150A #0C150A #21391C #396230 #518B44

Accessibility & contrast

On white

12.60
#21391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#21391C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21391C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21391C#FFFFFF#000000##FFFFFF
##21391C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351A
Deuteranopia (green-blind)
#37321E
Tritanopia (blue-blind)
#1F3732
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #21391c;
/* rgb */ color: rgb(33, 57, 28);
/* oklch */ color: oklch(31.6% 0.058 140.2);
Tailwind
colors: {
  custom: {
    50: '#5e6f58',
    500: '#21391c',
    950: '#000000',
  },
}
SCSS
$custom: #21391c;
$custom-light: #5e6f58;
$custom-dark: #000000;
JSON
{
  "hex": "#21391c",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 109.655,
    "s": 34.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.31621,
    "c": 0.05796,
    "h": 140.2
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#21391C
secondary
#66436E
accent
#5ECAB7
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#040703
muted
#797A78

Preview Lab

Preview with #21391C

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

Preview Lab → · Contrast checker → · Palette generator →

#21391C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva