#1D470B#1D470B

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

Color values

HEX#1D470B
RGBrgb(29, 71, 11)
HSLhsl(102, 73%, 16%)
HSVhsv(102, 85%, 28%)
CMYKcmyk(59.2%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.13, -26.81, 29.50)
CIE-LCHlch(26.13, 39.87, 132.27°)
OKLaboklab(35.43% -0.0741 0.0661)
OKLCHoklch(35.43% 0.099 138.3)
XYZxyz(2.8202, 4.7916, 1.0928)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D470B #350B47
analogous
#3B470B #1D470B #0B4717
triadic
#1D470B #0B1D47 #470B1D
tetradic
#1D470B #0B3B47 #350B47 #47170B
square
#1D470B #0B3B47 #350B47 #47170B
split-complementary
#1D470B #170B47 #470B3B
monochromatic
#0B1A04 #0B1A04 #1D470B #337C13 #48B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D470B#FFFFFF#000000##FFFFFF
##1D470B1.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)
#494001
Deuteranopia (green-blind)
#443D11
Tritanopia (blue-blind)
#19443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d470b;
/* rgb */ color: rgb(29, 71, 11);
/* oklch */ color: oklch(35.4% 0.099 138.3);
Tailwind
colors: {
  custom: {
    50: '#5f7b4f',
    500: '#1d470b',
    950: '#000000',
  },
}
SCSS
$custom: #1d470b;
$custom-light: #5f7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d470b",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 102,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35432,
    "c": 0.09926,
    "h": 138.3
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#1D470B
secondary
#692A83
accent
#38F0B9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D470B

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

Preview Lab → · Contrast checker → · Palette generator →

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