#20470C#20470C

#20470C is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.097 H 137.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#20470C
RGBrgb(32, 71, 12)
HSLhsl(100, 71%, 16%)
HSVhsv(100, 83%, 28%)
CMYKcmyk(54.9%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.27, -25.70, 29.28)
CIE-LCHlch(26.27, 38.96, 131.27°)
OKLaboklab(35.59% -0.0712 0.0657)
OKLCHoklch(35.59% 0.097 137.3)
XYZxyz(2.9152, 4.8399, 1.1283)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20470C #330C47
analogous
#3E470C #20470C #0C4716
triadic
#20470C #0C2047 #470C20
tetradic
#20470C #0C3E47 #330C47 #47160C
square
#20470C #0C3E47 #330C47 #47160C
split-complementary
#20470C #160C47 #470C3E
monochromatic
#0C1A04 #0C1A04 #20470C #387B15 #4FB01E

Accessibility & contrast

On white

10.67
#20470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#20470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20470C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20470C#FFFFFF#000000##FFFFFF
##20470C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#1E443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20470c;
/* rgb */ color: rgb(32, 71, 12);
/* oklch */ color: oklch(35.6% 0.097 137.3);
Tailwind
colors: {
  custom: {
    50: '#607a50',
    500: '#20470c',
    950: '#000000',
  },
}
SCSS
$custom: #20470c;
$custom-light: #607a50;
$custom-dark: #000000;
JSON
{
  "hex": "#20470c",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 99.661,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.09692,
    "h": 137.3
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#20470C
secondary
#652C83
accent
#3AEEB1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20470C

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

Preview Lab → · Contrast checker → · Palette generator →

#20470C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva