#21570E#21570E

#21570E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.117 H 139.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#21570E
RGBrgb(33, 87, 14)
HSLhsl(104, 72%, 20%)
HSVhsv(104, 84%, 34%)
CMYKcmyk(62.1%, 0%, 83.9%, 65.9%)
CIE-LABlab(32.19, -32.17, 34.28)
CIE-LCHlch(32.19, 47.01, 133.18°)
OKLaboklab(40.48% -0.0886 0.0765)
OKLCHoklch(40.48% 0.117 139.2)
XYZxyz(4.1145, 7.1711, 1.5827)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21570E #440E57
analogous
#45570E #21570E #0E5720
triadic
#21570E #0E2157 #570E21
tetradic
#21570E #0E4557 #440E57 #57200E
square
#21570E #0E4557 #440E57 #57200E
split-complementary
#21570E #200E57 #570E45
monochromatic
#0A1A04 #0D2206 #21570E #358C16 #49C01F

Accessibility & contrast

On white

8.63
#21570E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#21570E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21570E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21570E#FFFFFF#000000##FFFFFF
##21570E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#1B5449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21570e;
/* rgb */ color: rgb(33, 87, 14);
/* oklch */ color: oklch(40.5% 0.117 139.2);
Tailwind
colors: {
  custom: {
    50: '#648753',
    500: '#21570e',
    950: '#000000',
  },
}
SCSS
$custom: #21570e;
$custom-light: #648753;
$custom-dark: #000000;
JSON
{
  "hex": "#21570e",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 104.384,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.11704,
    "h": 139.2
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#21570E
secondary
#783091
accent
#39EFC0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21570E

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

Preview Lab → · Contrast checker → · Palette generator →

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