#21570F#21570F

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

Color values

HEX#21570F
RGBrgb(33, 87, 15)
HSLhsl(105, 71%, 20%)
HSVhsv(105, 83%, 34%)
CMYKcmyk(62.1%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.20, -32.10, 33.92)
CIE-LCHlch(32.20, 46.70, 133.42°)
OKLaboklab(40.49% -0.0883 0.0759)
OKLCHoklch(40.49% 0.116 139.3)
XYZxyz(4.1214, 7.1739, 1.6193)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21570F #450F57
analogous
#45570F #21570F #0F5721
triadic
#21570F #0F2157 #570F21
tetradic
#21570F #0F4557 #450F57 #57210F
square
#21570F #0F4557 #450F57 #57210F
split-complementary
#21570F #210F57 #570F45
monochromatic
#0A1A05 #0D2306 #21570F #358B18 #49BF21

Accessibility & contrast

On white

8.62
#21570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21570F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21570F#FFFFFF#000000##FFFFFF
##21570F1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21570f;
/* rgb */ color: rgb(33, 87, 15);
/* oklch */ color: oklch(40.5% 0.116 139.3);
Tailwind
colors: {
  custom: {
    50: '#648754',
    500: '#21570f',
    950: '#000000',
  },
}
SCSS
$custom: #21570f;
$custom-light: #648754;
$custom-dark: #000000;
JSON
{
  "hex": "#21570f",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 105,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.11645,
    "h": 139.3
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#21570F
secondary
#793191
accent
#3AEDC1
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21570F

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

Preview Lab → · Contrast checker → · Palette generator →

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