#21541B#21541B

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

Color values

HEX#21541B
RGBrgb(33, 84, 27)
HSLhsl(114, 51%, 22%)
HSVhsv(114, 68%, 33%)
CMYKcmyk(60.7%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.21, -29.66, 27.53)
CIE-LCHlch(31.21, 40.47, 137.13°)
OKLaboklab(39.71% -0.0809 0.0642)
OKLCHoklch(39.71% 0.103 141.6)
XYZxyz(3.9952, 6.7428, 2.1276)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21541B #4E1B54
analogous
#3E541B #21541B #1B5432
triadic
#21541B #1B2154 #541B21
tetradic
#21541B #1B3E54 #4E1B54 #54321B
square
#21541B #1B3E54 #4E1B54 #54321B
split-complementary
#21541B #321B54 #541B3E
monochromatic
#091707 #0F260C #21541B #33822A #45B139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21541B#FFFFFF#000000##FFFFFF
##21541B1.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)
#564C14
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#1A5148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21541b;
/* rgb */ color: rgb(33, 84, 27);
/* oklch */ color: oklch(39.7% 0.103 141.6);
Tailwind
colors: {
  custom: {
    50: '#62855a',
    500: '#21541b',
    950: '#000000',
  },
}
SCSS
$custom: #21541b;
$custom-light: #62855a;
$custom-dark: #000000;
JSON
{
  "hex": "#21541b",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 113.684,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3971,
    "c": 0.1033,
    "h": 141.6
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#21541B
secondary
#82418A
accent
#4DDBCC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #21541B

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

Preview Lab → · Contrast checker → · Palette generator →

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