#21540E#21540E

#21540E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.113 H 138.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#21540E
RGBrgb(33, 84, 14)
HSLhsl(104, 71%, 19%)
HSVhsv(104, 83%, 33%)
CMYKcmyk(60.7%, 0%, 83.3%, 67.1%)
CIE-LABlab(31.10, -30.92, 33.23)
CIE-LCHlch(31.10, 45.39, 132.94°)
OKLaboklab(39.58% -0.0852 0.0743)
OKLCHoklch(39.58% 0.113 138.9)
XYZxyz(3.8766, 6.6954, 1.5034)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21540E #410E54
analogous
#44540E #21540E #0E541E
triadic
#21540E #0E2154 #540E21
tetradic
#21540E #0E4454 #410E54 #541E0E
square
#21540E #0E4454 #410E54 #541E0E
split-complementary
#21540E #1E0E54 #540E44
monochromatic
#0A1A04 #0C2005 #21540E #368817 #4ABD1F

Accessibility & contrast

On white

8.98
#21540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#21540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21540E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21540E#FFFFFF#000000##FFFFFF
##21540E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#1C5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21540e;
/* rgb */ color: rgb(33, 84, 14);
/* oklch */ color: oklch(39.6% 0.113 138.9);
Tailwind
colors: {
  custom: {
    50: '#638553',
    500: '#21540e',
    950: '#000000',
  },
}
SCSS
$custom: #21540e;
$custom-light: #638553;
$custom-dark: #000000;
JSON
{
  "hex": "#21540e",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 103.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.11306,
    "h": 138.9
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#21540E
secondary
#752F8E
accent
#3AEEBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #21540E

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

Preview Lab → · Contrast checker → · Palette generator →

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