#21540D#21540D

#21540D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.114 H 138.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#21540D
RGBrgb(33, 84, 13)
HSLhsl(103, 73%, 19%)
HSVhsv(103, 85%, 33%)
CMYKcmyk(60.7%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.10, -30.99, 33.59)
CIE-LCHlch(31.10, 45.71, 132.69°)
OKLaboklab(39.58% -0.0855 0.0749)
OKLCHoklch(39.58% 0.114 138.8)
XYZxyz(3.8700, 6.6927, 1.4686)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21540D #400D54
analogous
#45540D #21540D #0D541D
triadic
#21540D #0D2154 #540D21
tetradic
#21540D #0D4554 #400D54 #541D0D
square
#21540D #0D4554 #400D54 #541D0D
split-complementary
#21540D #1D0D54 #540D45
monochromatic
#0A1A04 #0C1F05 #21540D #368915 #4BBE1D

Accessibility & contrast

On white

8.98
#21540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#21540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21540D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21540D#FFFFFF#000000##FFFFFF
##21540D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#1C5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21540d;
/* rgb */ color: rgb(33, 84, 13);
/* oklch */ color: oklch(39.6% 0.114 138.8);
Tailwind
colors: {
  custom: {
    50: '#638552',
    500: '#21540d',
    950: '#000000',
  },
}
SCSS
$custom: #21540d;
$custom-light: #638552;
$custom-dark: #000000;
JSON
{
  "hex": "#21540d",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 103.099,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.11364,
    "h": 138.8
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#21540D
secondary
#742E8F
accent
#38F0BC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #21540D

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

Preview Lab → · Contrast checker → · Palette generator →

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