#1D470F#1D470F

#1D470F is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.096 H 139.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#1D470F
RGBrgb(29, 71, 15)
HSLhsl(105, 65%, 17%)
HSVhsv(105, 79%, 28%)
CMYKcmyk(59.2%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.16, -26.47, 27.84)
CIE-LCHlch(26.16, 38.41, 133.56°)
OKLaboklab(35.47% -0.0729 0.0632)
OKLCHoklch(35.47% 0.096 139.1)
XYZxyz(2.8460, 4.8020, 1.2287)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D470F #390F47
analogous
#39470F #1D470F #0F471D
triadic
#1D470F #0F1D47 #470F1D
tetradic
#1D470F #0F3947 #390F47 #471D0F
square
#1D470F #0F3947 #390F47 #471D0F
split-complementary
#1D470F #1D0F47 #470F39
monochromatic
#0A1905 #0A1905 #1D470F #327A1A #46AC24

Accessibility & contrast

On white

10.71
#1D470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D470F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D470F#FFFFFF#000000##FFFFFF
##1D470F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d470f;
/* rgb */ color: rgb(29, 71, 15);
/* oklch */ color: oklch(35.5% 0.096 139.1);
Tailwind
colors: {
  custom: {
    50: '#5e7b51',
    500: '#1d470f',
    950: '#000000',
  },
}
SCSS
$custom: #1d470f;
$custom-light: #5e7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1d470f",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 105,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.09648,
    "h": 139.1
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#1D470F
secondary
#6D3081
accent
#40E8BE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1D470F

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

Preview Lab → · Contrast checker → · Palette generator →

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