#1D470C#1D470C

#1D470C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.099 H 138.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1D470C
RGBrgb(29, 71, 12)
HSLhsl(103, 71%, 16%)
HSVhsv(103, 83%, 28%)
CMYKcmyk(59.2%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.14, -26.73, 29.10)
CIE-LCHlch(26.14, 39.52, 132.57°)
OKLaboklab(35.44% -0.0738 0.0654)
OKLCHoklch(35.44% 0.099 138.5)
XYZxyz(2.8262, 4.7940, 1.1242)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D470C #360C47
analogous
#3B470C #1D470C #0C4719
triadic
#1D470C #0C1D47 #470C1D
tetradic
#1D470C #0C3B47 #360C47 #47190C
square
#1D470C #0C3B47 #360C47 #47190C
split-complementary
#1D470C #190C47 #470C3B
monochromatic
#0B1A04 #0B1A04 #1D470C #327B15 #48B01E

Accessibility & contrast

On white

10.72
#1D470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D470C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D470C#FFFFFF#000000##FFFFFF
##1D470C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#443D12
Tritanopia (blue-blind)
#19443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d470c;
/* rgb */ color: rgb(29, 71, 12);
/* oklch */ color: oklch(35.4% 0.099 138.5);
Tailwind
colors: {
  custom: {
    50: '#5f7b4f',
    500: '#1d470c',
    950: '#000000',
  },
}
SCSS
$custom: #1d470c;
$custom-light: #5f7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d470c",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 102.712,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.09861,
    "h": 138.5
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#1D470C
secondary
#6A2C83
accent
#3AEEBA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D470C

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

Preview Lab → · Contrast checker → · Palette generator →

#1D470C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva