#21591A#21591A

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

Color values

HEX#21591A
RGBrgb(33, 89, 26)
HSLhsl(113, 55%, 23%)
HSVhsv(113, 71%, 35%)
CMYKcmyk(62.9%, 0%, 70.8%, 65.1%)
CIE-LABlab(33.01, -31.92, 30.01)
CIE-LCHlch(33.01, 43.81, 136.76°)
OKLaboklab(41.19% -0.0871 0.0693)
OKLCHoklch(41.19% 0.111 141.5)
XYZxyz(4.3858, 7.5423, 2.2018)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21591A #521A59
analogous
#41591A #21591A #1A5932
triadic
#21591A #1A2159 #591A21
tetradic
#21591A #1A4159 #521A59 #59321A
square
#21591A #1A4159 #521A59 #59321A
split-complementary
#21591A #321A59 #591A41
monochromatic
#091807 #0F2A0C #21591A #338828 #44B836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21591A#FFFFFF#000000##FFFFFF
##21591A1.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)
#5B5112
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#19564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #21591a;
/* rgb */ color: rgb(33, 89, 26);
/* oklch */ color: oklch(41.2% 0.111 141.5);
Tailwind
colors: {
  custom: {
    50: '#64885a',
    500: '#21591a',
    950: '#000000',
  },
}
SCSS
$custom: #21591a;
$custom-light: #64885a;
$custom-dark: #000000;
JSON
{
  "hex": "#21591a",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 113.333,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.11134,
    "h": 141.5
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#21591A
secondary
#86408F
accent
#4ADECE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #21591A

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

Preview Lab → · Contrast checker → · Palette generator →

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