#21571A#21571A

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

Color values

HEX#21571A
RGBrgb(33, 87, 26)
HSLhsl(113, 54%, 22%)
HSVhsv(113, 70%, 34%)
CMYKcmyk(62.1%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.29, -31.07, 29.22)
CIE-LCHlch(32.29, 42.65, 136.75°)
OKLaboklab(40.59% -0.0848 0.0676)
OKLCHoklch(40.59% 0.109 141.4)
XYZxyz(4.2216, 7.2139, 2.1470)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21571A #501A57
analogous
#40571A #21571A #1A5732
triadic
#21571A #1A2157 #571A21
tetradic
#21571A #1A4057 #501A57 #57321A
square
#21571A #1A4057 #501A57 #57321A
split-complementary
#21571A #321A57 #571A40
monochromatic
#091807 #0F280C #21571A #338628 #45B536

Accessibility & contrast

On white

8.60
#21571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#21571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21571A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21571A#FFFFFF#000000##FFFFFF
##21571A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F12
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#19544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21571a;
/* rgb */ color: rgb(33, 87, 26);
/* oklch */ color: oklch(40.6% 0.108 141.4);
Tailwind
colors: {
  custom: {
    50: '#63875a',
    500: '#21571a',
    950: '#000000',
  },
}
SCSS
$custom: #21571a;
$custom-light: #63875a;
$custom-dark: #000000;
JSON
{
  "hex": "#21571a",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 113.115,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.1085,
    "h": 141.4
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#21571A
secondary
#84408D
accent
#4ADDCC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #21571A

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

Preview Lab → · Contrast checker → · Palette generator →

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