#21500D#21500D

#21500D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.108 H 138.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#21500D
RGBrgb(33, 80, 13)
HSLhsl(102, 72%, 18%)
HSVhsv(102, 84%, 31%)
CMYKcmyk(58.8%, 0%, 83.7%, 68.6%)
CIE-LABlab(29.64, -29.29, 32.19)
CIE-LCHlch(29.64, 43.52, 132.30°)
OKLaboklab(38.37% -0.0809 0.0719)
OKLCHoklch(38.37% 0.108 138.4)
XYZxyz(3.5684, 6.0894, 1.3680)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21500D #3C0D50
analogous
#42500D #21500D #0D501B
triadic
#21500D #0D2150 #500D21
tetradic
#21500D #0D4250 #3C0D50 #501B0D
square
#21500D #0D4250 #3C0D50 #501B0D
split-complementary
#21500D #1B0D50 #500D42
monochromatic
#0B1A04 #0B1B04 #21500D #378516 #4CB91E

Accessibility & contrast

On white

9.47
#21500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#21500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21500D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21500D#FFFFFF#000000##FFFFFF
##21500D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534801
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#1D4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21500d;
/* rgb */ color: rgb(33, 80, 13);
/* oklch */ color: oklch(38.4% 0.108 138.4);
Tailwind
colors: {
  custom: {
    50: '#628151',
    500: '#21500d',
    950: '#000000',
  },
}
SCSS
$custom: #21500d;
$custom-light: #628151;
$custom-dark: #000000;
JSON
{
  "hex": "#21500d",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 102.09,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.10827,
    "h": 138.4
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#21500D
secondary
#6F2E8B
accent
#39EFB9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #21500D

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

Preview Lab → · Contrast checker → · Palette generator →

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