#21541A#21541A

#21541A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.104 H 141.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#21541A
RGBrgb(33, 84, 26)
HSLhsl(113, 53%, 22%)
HSVhsv(113, 69%, 33%)
CMYKcmyk(60.7%, 0%, 69%, 67.1%)
CIE-LABlab(31.20, -29.78, 28.03)
CIE-LCHlch(31.20, 40.89, 136.74°)
OKLaboklab(39.7% -0.0813 0.0651)
OKLCHoklch(39.7% 0.104 141.3)
XYZxyz(3.9838, 6.7382, 2.0678)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21541A #4D1A54
analogous
#3E541A #21541A #1A5430
triadic
#21541A #1A2154 #541A21
tetradic
#21541A #1A3E54 #4D1A54 #54301A
square
#21541A #1A3E54 #4D1A54 #54301A
split-complementary
#21541A #301A54 #541A3E
monochromatic
#091707 #0F250C #21541A #338328 #46B137

Accessibility & contrast

On white

8.94
#21541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21541A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21541A#FFFFFF#000000##FFFFFF
##21541A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#1A5148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21541a;
/* rgb */ color: rgb(33, 84, 26);
/* oklch */ color: oklch(39.7% 0.104 141.3);
Tailwind
colors: {
  custom: {
    50: '#628559',
    500: '#21541a',
    950: '#000000',
  },
}
SCSS
$custom: #21541a;
$custom-light: #628559;
$custom-dark: #000000;
JSON
{
  "hex": "#21541a",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 112.759,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.10418,
    "h": 141.3
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#21541A
secondary
#81408A
accent
#4CDCCB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #21541A

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

Preview Lab → · Contrast checker → · Palette generator →

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