#21541E#21541E

#21541E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.101 H 142.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#21541E
RGBrgb(33, 84, 30)
HSLhsl(117, 47%, 22%)
HSVhsv(117, 64%, 33%)
CMYKcmyk(60.7%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.25, -29.28, 26.02)
CIE-LCHlch(31.25, 39.17, 138.38°)
OKLaboklab(39.75% -0.0797 0.0612)
OKLCHoklch(39.75% 0.101 142.5)
XYZxyz(4.0317, 6.7574, 2.3199)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21541E #511E54
analogous
#3C541E #21541E #1E5436
triadic
#21541E #1E2154 #541E21
tetradic
#21541E #1E3C54 #511E54 #54361E
square
#21541E #1E3C54 #511E54 #54361E
split-complementary
#21541E #361E54 #541E3C
monochromatic
#091708 #0F270E #21541E #33812E #44AE3E

Accessibility & contrast

On white

8.93
#21541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#21541E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21541E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21541E#FFFFFF#000000##FFFFFF
##21541E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C18
Deuteranopia (green-blind)
#4F4822
Tritanopia (blue-blind)
#195148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #21541e;
/* rgb */ color: rgb(33, 84, 30);
/* oklch */ color: oklch(39.7% 0.101 142.5);
Tailwind
colors: {
  custom: {
    50: '#62855c',
    500: '#21541e',
    950: '#000000',
  },
}
SCSS
$custom: #21541e;
$custom-light: #62855c;
$custom-dark: #000000;
JSON
{
  "hex": "#21541e",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 116.667,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.10054,
    "h": 142.5
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#21541E
secondary
#854589
accent
#51D7D0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #21541E

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

Preview Lab → · Contrast checker → · Palette generator →

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