#21520E#21520E

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

Color values

HEX#21520E
RGBrgb(33, 82, 14)
HSLhsl(103, 71%, 19%)
HSVhsv(103, 83%, 32%)
CMYKcmyk(59.8%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.37, -30.07, 32.52)
CIE-LCHlch(30.37, 44.30, 132.76°)
OKLaboklab(38.98% -0.083 0.0728)
OKLCHoklch(38.98% 0.11 138.7)
XYZxyz(3.7236, 6.3893, 1.4524)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21520E #3F0E52
analogous
#43520E #21520E #0E521D
triadic
#21520E #0E2152 #520E21
tetradic
#21520E #0E4352 #3F0E52 #521D0E
square
#21520E #0E4352 #3F0E52 #521D0E
split-complementary
#21520E #1D0E52 #520E43
monochromatic
#0B1A04 #0C1E05 #21520E #368617 #4BBB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21520E#FFFFFF#000000##FFFFFF
##21520E1.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)
#554A02
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#1C4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21520e;
/* rgb */ color: rgb(33, 82, 14);
/* oklch */ color: oklch(39.0% 0.110 138.7);
Tailwind
colors: {
  custom: {
    50: '#638352',
    500: '#21520e',
    950: '#000000',
  },
}
SCSS
$custom: #21520e;
$custom-light: #638352;
$custom-dark: #000000;
JSON
{
  "hex": "#21520e",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 103.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.11037,
    "h": 138.7
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#21520E
secondary
#722F8C
accent
#3AEEBB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21520E

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

Preview Lab → · Contrast checker → · Palette generator →

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