#21470D#21470D

#21470D is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.6% C 0.096 H 137.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#21470D
RGBrgb(33, 71, 13)
HSLhsl(99, 69%, 16%)
HSVhsv(99, 82%, 28%)
CMYKcmyk(53.5%, 0%, 81.7%, 72.2%)
CIE-LABlab(26.33, -25.26, 28.94)
CIE-LCHlch(26.33, 38.41, 131.13°)
OKLaboklab(35.65% -0.0701 0.0651)
OKLCHoklch(35.65% 0.096 137.1)
XYZxyz(2.9530, 4.8587, 1.1629)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21470D #330D47
analogous
#3E470D #21470D #0D4716
triadic
#21470D #0D2147 #470D21
tetradic
#21470D #0D3E47 #330D47 #47160D
square
#21470D #0D3E47 #330D47 #47160D
split-complementary
#21470D #160D47 #470D3E
monochromatic
#0C1A05 #0C1A05 #21470D #397B16 #51AE20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21470D#FFFFFF#000000##FFFFFF
##21470D1.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)
#4A4004
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#1F443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21470d;
/* rgb */ color: rgb(33, 71, 13);
/* oklch */ color: oklch(35.6% 0.096 137.1);
Tailwind
colors: {
  custom: {
    50: '#617a50',
    500: '#21470d',
    950: '#000000',
  },
}
SCSS
$custom: #21470d;
$custom-light: #617a50;
$custom-dark: #000000;
JSON
{
  "hex": "#21470d",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 99.31,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35648,
    "c": 0.09567,
    "h": 137.1
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#21470D
secondary
#652D82
accent
#3CECAF
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21470D

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

Preview Lab → · Contrast checker → · Palette generator →

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