#21571E#21571E

#21571E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.105 H 142.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#21571E
RGBrgb(33, 87, 30)
HSLhsl(117, 49%, 23%)
HSVhsv(117, 66%, 34%)
CMYKcmyk(62.1%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.33, -30.59, 27.26)
CIE-LCHlch(32.33, 40.97, 138.29°)
OKLaboklab(40.64% -0.0833 0.0639)
OKLCHoklch(40.64% 0.105 142.5)
XYZxyz(4.2695, 7.2331, 2.3992)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21571E #541E57
analogous
#3D571E #21571E #1E5737
triadic
#21571E #1E2157 #571E21
tetradic
#21571E #1E3D57 #541E57 #57371E
square
#21571E #1E3D57 #541E57 #57371E
split-complementary
#21571E #371E57 #571E3D
monochromatic
#091708 #10290E #21571E #32852E #44B23D

Accessibility & contrast

On white

8.58
#21571E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#21571E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21571E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21571E#FFFFFF#000000##FFFFFF
##21571E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#19544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21571e;
/* rgb */ color: rgb(33, 87, 30);
/* oklch */ color: oklch(40.6% 0.105 142.5);
Tailwind
colors: {
  custom: {
    50: '#63875c',
    500: '#21571e',
    950: '#000000',
  },
}
SCSS
$custom: #21571e;
$custom-light: #63875c;
$custom-dark: #000000;
JSON
{
  "hex": "#21571e",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 116.842,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.10498,
    "h": 142.5
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#21571E
secondary
#88458C
accent
#50D8D1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #21571E

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

Preview Lab → · Contrast checker → · Palette generator →

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