#21591C#21591C

#21591C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.110 H 142.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#21591C
RGBrgb(33, 89, 28)
HSLhsl(115, 52%, 23%)
HSVhsv(115, 69%, 35%)
CMYKcmyk(62.9%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.03, -31.69, 29.06)
CIE-LCHlch(33.03, 42.99, 137.47°)
OKLaboklab(41.21% -0.0864 0.0675)
OKLCHoklch(41.21% 0.11 142)
XYZxyz(4.4090, 7.5515, 2.3236)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21591C #541C59
analogous
#3F591C #21591C #1C5935
triadic
#21591C #1C2159 #591C21
tetradic
#21591C #1C3F59 #541C59 #59351C
square
#21591C #1C3F59 #541C59 #59351C
split-complementary
#21591C #351C59 #591C3F
monochromatic
#091707 #102A0D #21591C #32882B #44B639

Accessibility & contrast

On white

8.37
#21591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#21591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21591C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21591C#FFFFFF#000000##FFFFFF
##21591C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#18564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21591c;
/* rgb */ color: rgb(33, 89, 28);
/* oklch */ color: oklch(41.2% 0.110 142.0);
Tailwind
colors: {
  custom: {
    50: '#63885b',
    500: '#21591c',
    950: '#000000',
  },
}
SCSS
$custom: #21591c;
$custom-light: #63885b;
$custom-dark: #000000;
JSON
{
  "hex": "#21591c",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 115.082,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.10964,
    "h": 142
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#21591C
secondary
#88428F
accent
#4CDCD0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #21591C

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

Preview Lab → · Contrast checker → · Palette generator →

#21591C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva