#20470A#20470A

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

Color values

HEX#20470A
RGBrgb(32, 71, 10)
HSLhsl(98, 75%, 16%)
HSVhsv(98, 86%, 28%)
CMYKcmyk(54.9%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.26, -25.85, 30.06)
CIE-LCHlch(26.26, 39.65, 130.70°)
OKLaboklab(35.57% -0.0718 0.067)
OKLCHoklch(35.57% 0.098 137)
XYZxyz(2.9036, 4.8353, 1.0674)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20470A #310A47
analogous
#3E470A #20470A #0A4712
triadic
#20470A #0A2047 #470A20
tetradic
#20470A #0A3E47 #310A47 #47120A
square
#20470A #0A3E47 #310A47 #47120A
split-complementary
#20470A #120A47 #470A3E
monochromatic
#0C1B04 #0C1B04 #20470A #387D12 #50B219

Accessibility & contrast

On white

10.68
#20470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20470A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20470A#FFFFFF#000000##FFFFFF
##20470A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20470a;
/* rgb */ color: rgb(32, 71, 10);
/* oklch */ color: oklch(35.6% 0.098 137.0);
Tailwind
colors: {
  custom: {
    50: '#607a4f',
    500: '#20470a',
    950: '#000000',
  },
}
SCSS
$custom: #20470a;
$custom-light: #607a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20470a",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 98.361,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35572,
    "c": 0.09821,
    "h": 137
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#20470A
secondary
#632984
accent
#36F2AE
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20470A

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

Preview Lab → · Contrast checker → · Palette generator →

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