#21520F#21520F

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

Color values

HEX#21520F
RGBrgb(33, 82, 15)
HSLhsl(104, 69%, 19%)
HSVhsv(104, 82%, 32%)
CMYKcmyk(59.8%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.38, -30.00, 32.14)
CIE-LCHlch(30.38, 43.96, 133.02°)
OKLaboklab(38.99% -0.0827 0.0722)
OKLCHoklch(38.99% 0.11 138.9)
XYZxyz(3.7306, 6.3921, 1.4891)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21520F #400F52
analogous
#43520F #21520F #0F521F
triadic
#21520F #0F2152 #520F21
tetradic
#21520F #0F4352 #400F52 #521F0F
square
#21520F #0F4352 #400F52 #521F0F
split-complementary
#21520F #1F0F52 #520F43
monochromatic
#0A1A05 #0C1E06 #21520F #368618 #4BB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21520F#FFFFFF#000000##FFFFFF
##21520F1.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)
#554A03
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#1C4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21520f;
/* rgb */ color: rgb(33, 82, 15);
/* oklch */ color: oklch(39.0% 0.110 138.9);
Tailwind
colors: {
  custom: {
    50: '#638353',
    500: '#21520f',
    950: '#000000',
  },
}
SCSS
$custom: #21520f;
$custom-light: #638353;
$custom-dark: #000000;
JSON
{
  "hex": "#21520f",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 103.881,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.10974,
    "h": 138.9
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#21520F
secondary
#74318C
accent
#3CECBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21520F

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

Preview Lab → · Contrast checker → · Palette generator →

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