#20470F#20470F

#20470F is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.6% C 0.095 H 137.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#20470F
RGBrgb(32, 71, 15)
HSLhsl(102, 65%, 17%)
HSVhsv(102, 79%, 28%)
CMYKcmyk(54.9%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.30, -25.45, 28.01)
CIE-LCHlch(26.30, 37.85, 132.25°)
OKLaboklab(35.61% -0.0703 0.0636)
OKLCHoklch(35.61% 0.095 137.9)
XYZxyz(2.9350, 4.8478, 1.2329)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20470F #360F47
analogous
#3C470F #20470F #0F471A
triadic
#20470F #0F2047 #470F20
tetradic
#20470F #0F3C47 #360F47 #471A0F
square
#20470F #0F3C47 #360F47 #471A0F
split-complementary
#20470F #1A0F47 #470F3C
monochromatic
#0B1905 #0B1905 #20470F #377A1A #4EAC24

Accessibility & contrast

On white

10.66
#20470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20470F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20470F#FFFFFF#000000##FFFFFF
##20470F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494006
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#1D443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20470f;
/* rgb */ color: rgb(32, 71, 15);
/* oklch */ color: oklch(35.6% 0.095 137.9);
Tailwind
colors: {
  custom: {
    50: '#607a51',
    500: '#20470f',
    950: '#000000',
  },
}
SCSS
$custom: #20470f;
$custom-light: #607a51;
$custom-dark: #000000;
JSON
{
  "hex": "#20470f",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 101.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.0948,
    "h": 137.9
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#20470F
secondary
#693081
accent
#40E8B5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20470F

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

Preview Lab → · Contrast checker → · Palette generator →

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