#21470E#21470E

#21470E is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.095 H 137.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#21470E
RGBrgb(33, 71, 14)
HSLhsl(100, 67%, 17%)
HSVhsv(100, 80%, 28%)
CMYKcmyk(53.5%, 0%, 80.3%, 72.2%)
CIE-LABlab(26.34, -25.18, 28.51)
CIE-LCHlch(26.34, 38.04, 131.45°)
OKLaboklab(35.66% -0.0698 0.0644)
OKLCHoklch(35.66% 0.095 137.3)
XYZxyz(2.9596, 4.8613, 1.1978)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21470E #340E47
analogous
#3E470E #21470E #0E4718
triadic
#21470E #0E2147 #470E21
tetradic
#21470E #0E3E47 #340E47 #47180E
square
#21470E #0E3E47 #340E47 #47180E
split-complementary
#21470E #180E47 #470E3E
monochromatic
#0C1A05 #0C1A05 #21470E #397A18 #51AD22

Accessibility & contrast

On white

10.65
#21470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#21470E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21470E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21470E#FFFFFF#000000##FFFFFF
##21470E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4005
Deuteranopia (green-blind)
#453D14
Tritanopia (blue-blind)
#1F443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21470e;
/* rgb */ color: rgb(33, 71, 14);
/* oklch */ color: oklch(35.7% 0.095 137.3);
Tailwind
colors: {
  custom: {
    50: '#617a51',
    500: '#21470e',
    950: '#000000',
  },
}
SCSS
$custom: #21470e;
$custom-light: #617a51;
$custom-dark: #000000;
JSON
{
  "hex": "#21470e",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 100,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.09496,
    "h": 137.3
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#21470E
secondary
#662F82
accent
#3EEAB1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21470E

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

Preview Lab → · Contrast checker → · Palette generator →

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