#21520D#21520D

#21520D is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.111 H 138.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#21520D
RGBrgb(33, 82, 13)
HSLhsl(103, 73%, 19%)
HSVhsv(103, 84%, 32%)
CMYKcmyk(59.8%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.37, -30.15, 32.89)
CIE-LCHlch(30.37, 44.62, 132.50°)
OKLaboklab(38.98% -0.0832 0.0734)
OKLCHoklch(38.98% 0.111 138.6)
XYZxyz(3.7170, 6.3867, 1.4176)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21520D #3E0D52
analogous
#43520D #21520D #0D521B
triadic
#21520D #0D2152 #520D21
tetradic
#21520D #0D4352 #3E0D52 #521B0D
square
#21520D #0D4352 #3E0D52 #521B0D
split-complementary
#21520D #1B0D52 #520D43
monochromatic
#0B1A04 #0C1D05 #21520D #368715 #4CBC1E

Accessibility & contrast

On white

9.22
#21520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#21520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21520D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21520D#FFFFFF#000000##FFFFFF
##21520D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#1C4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21520d;
/* rgb */ color: rgb(33, 82, 13);
/* oklch */ color: oklch(39.0% 0.111 138.6);
Tailwind
colors: {
  custom: {
    50: '#638352',
    500: '#21520d',
    950: '#000000',
  },
}
SCSS
$custom: #21520d;
$custom-light: #638352;
$custom-dark: #000000;
JSON
{
  "hex": "#21520d",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 102.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.11097,
    "h": 138.6
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#21520D
secondary
#712E8D
accent
#38EFBA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21520D

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

Preview Lab → · Contrast checker → · Palette generator →

#21520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva