#21580E#21580E

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

Color values

HEX#21580E
RGBrgb(33, 88, 14)
HSLhsl(105, 73%, 20%)
HSVhsv(105, 84%, 35%)
CMYKcmyk(62.5%, 0%, 84.1%, 65.5%)
CIE-LABlab(32.56, -32.58, 34.63)
CIE-LCHlch(32.56, 47.54, 133.25°)
OKLaboklab(40.78% -0.0897 0.0772)
OKLCHoklch(40.78% 0.118 139.3)
XYZxyz(4.1960, 7.3341, 1.6099)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21580E #450E58
analogous
#46580E #21580E #0E5820
triadic
#21580E #0E2158 #580E21
tetradic
#21580E #0E4658 #450E58 #58200E
square
#21580E #0E4658 #450E58 #58200E
split-complementary
#21580E #200E58 #580E46
monochromatic
#0A1A04 #0D2306 #21580E #358D16 #49C21F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21580E#FFFFFF#000000##FFFFFF
##21580E1.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: #21580e;
/* rgb */ color: rgb(33, 88, 14);
/* oklch */ color: oklch(40.8% 0.118 139.3);
Tailwind
colors: {
  custom: {
    50: '#648853',
    500: '#21580e',
    950: '#000000',
  },
}
SCSS
$custom: #21580e;
$custom-light: #648853;
$custom-dark: #000000;
JSON
{
  "hex": "#21580e",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 104.595,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.11835,
    "h": 139.3
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#21580E
secondary
#793092
accent
#39EFC0
background
#F6F8F4
surface
#EBF0E8
border
#C6CBC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21580E

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

Preview Lab → · Contrast checker → · Palette generator →

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