#21470F#21470F

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

Color values

HEX#21470F
RGBrgb(33, 71, 15)
HSLhsl(101, 65%, 17%)
HSVhsv(101, 79%, 28%)
CMYKcmyk(53.5%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.34, -25.09, 28.08)
CIE-LCHlch(26.34, 37.66, 131.78°)
OKLaboklab(35.67% -0.0694 0.0637)
OKLCHoklch(35.67% 0.094 137.5)
XYZxyz(2.9666, 4.8641, 1.2344)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21470F #350F47
analogous
#3D470F #21470F #0F4719
triadic
#21470F #0F2147 #470F21
tetradic
#21470F #0F3D47 #350F47 #47190F
square
#21470F #0F3D47 #350F47 #47190F
split-complementary
#21470F #190F47 #470F3D
monochromatic
#0C1905 #0C1905 #21470F #387A1A #50AC24

Accessibility & contrast

On white

10.64
#21470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21470F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21470F#FFFFFF#000000##FFFFFF
##21470F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21470f;
/* rgb */ color: rgb(33, 71, 15);
/* oklch */ color: oklch(35.7% 0.094 137.5);
Tailwind
colors: {
  custom: {
    50: '#617a51',
    500: '#21470f',
    950: '#000000',
  },
}
SCSS
$custom: #21470f;
$custom-light: #617a51;
$custom-dark: #000000;
JSON
{
  "hex": "#21470f",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 100.714,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35666,
    "c": 0.09422,
    "h": 137.5
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#21470F
secondary
#673081
accent
#40E8B2
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21470F

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

Preview Lab → · Contrast checker → · Palette generator →

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