#21580D#21580D

#21580D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.119 H 139.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#21580D
RGBrgb(33, 88, 13)
HSLhsl(104, 74%, 20%)
HSVhsv(104, 85%, 35%)
CMYKcmyk(62.5%, 0%, 85.2%, 65.5%)
CIE-LABlab(32.55, -32.65, 34.98)
CIE-LCHlch(32.55, 47.84, 133.03°)
OKLaboklab(40.78% -0.0899 0.0778)
OKLCHoklch(40.78% 0.119 139.2)
XYZxyz(4.1894, 7.3315, 1.5750)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21580D #440D58
analogous
#47580D #21580D #0D581F
triadic
#21580D #0D2158 #580D21
tetradic
#21580D #0D4758 #440D58 #581F0D
square
#21580D #0D4758 #440D58 #581F0D
split-complementary
#21580D #1F0D58 #580D47
monochromatic
#0A1B04 #0D2305 #21580D #358D15 #49C31D

Accessibility & contrast

On white

8.51
#21580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#21580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21580D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21580D#FFFFFF#000000##FFFFFF
##21580D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#1B554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21580d;
/* rgb */ color: rgb(33, 88, 13);
/* oklch */ color: oklch(40.8% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#648853',
    500: '#21580d',
    950: '#000000',
  },
}
SCSS
$custom: #21580d;
$custom-light: #648853;
$custom-dark: #000000;
JSON
{
  "hex": "#21580d",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 104,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.11889,
    "h": 139.2
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#21580D
secondary
#782E93
accent
#37F1BF
background
#F6F8F4
surface
#EBF0E7
border
#C6CBC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21580D

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

Preview Lab → · Contrast checker → · Palette generator →

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