#21520B#21520B

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

Color values

HEX#21520B
RGBrgb(33, 82, 11)
HSLhsl(101, 76%, 18%)
HSVhsv(101, 87%, 32%)
CMYKcmyk(59.8%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.36, -30.28, 33.60)
CIE-LCHlch(30.36, 45.23, 132.03°)
OKLaboklab(38.96% -0.0837 0.0746)
OKLCHoklch(38.96% 0.112 138.3)
XYZxyz(3.7048, 6.3818, 1.3531)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21520B #3C0B52
analogous
#44520B #21520B #0B5218
triadic
#21520B #0B2152 #520B21
tetradic
#21520B #0B4452 #3C0B52 #52180B
square
#21520B #0B4452 #3C0B52 #52180B
split-complementary
#21520B #180B52 #520B44
monochromatic
#0B1B04 #0B1C04 #21520B #378812 #4CBE19

Accessibility & contrast

On white

9.23
#21520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21520B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21520B#FFFFFF#000000##FFFFFF
##21520B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21520b;
/* rgb */ color: rgb(33, 82, 11);
/* oklch */ color: oklch(39.0% 0.112 138.3);
Tailwind
colors: {
  custom: {
    50: '#638351',
    500: '#21520b',
    950: '#000000',
  },
}
SCSS
$custom: #21520b;
$custom-light: #638351;
$custom-dark: #000000;
JSON
{
  "hex": "#21520b",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 101.408,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.11209,
    "h": 138.3
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#21520B
secondary
#6F2B8E
accent
#35F3B8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21520B

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

Preview Lab → · Contrast checker → · Palette generator →

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