#21591E#21591E

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

Color values

HEX#21591E
RGBrgb(33, 89, 30)
HSLhsl(117, 50%, 23%)
HSVhsv(117, 66%, 35%)
CMYKcmyk(62.9%, 0%, 66.3%, 65.1%)
CIE-LABlab(33.05, -31.44, 28.08)
CIE-LCHlch(33.05, 42.16, 138.23°)
OKLaboklab(41.24% -0.0856 0.0657)
OKLCHoklch(41.24% 0.108 142.5)
XYZxyz(4.4337, 7.5614, 2.4539)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21591E #561E59
analogous
#3E591E #21591E #1E5938
triadic
#21591E #1E2159 #591E21
tetradic
#21591E #1E3E59 #561E59 #59381E
square
#21591E #1E3E59 #561E59 #59381E
split-complementary
#21591E #381E59 #591E3E
monochromatic
#081708 #102B0F #21591E #32872D #43B53D

Accessibility & contrast

On white

8.36
#21591E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21591E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21591E#FFFFFF#000000##FFFFFF
##21591E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21591e;
/* rgb */ color: rgb(33, 89, 30);
/* oklch */ color: oklch(41.2% 0.108 142.5);
Tailwind
colors: {
  custom: {
    50: '#63885c',
    500: '#21591e',
    950: '#000000',
  },
}
SCSS
$custom: #21591e;
$custom-light: #63885c;
$custom-dark: #000000;
JSON
{
  "hex": "#21591e",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 116.949,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.10789,
    "h": 142.5
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#21591E
secondary
#8A458E
accent
#4FD9D2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #21591E

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

Preview Lab → · Contrast checker → · Palette generator →

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