#1F470D#1F470D

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

Color values

HEX#1F470D
RGBrgb(31, 71, 13)
HSLhsl(101, 69%, 16%)
HSVhsv(101, 82%, 28%)
CMYKcmyk(56.3%, 0%, 81.7%, 72.2%)
CIE-LABlab(26.23, -25.97, 28.81)
CIE-LCHlch(26.23, 38.79, 132.03°)
OKLaboklab(35.55% -0.0718 0.0649)
OKLCHoklch(35.55% 0.097 137.9)
XYZxyz(2.8909, 4.8266, 1.1600)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F470D #350D47
analogous
#3C470D #1F470D #0D4718
triadic
#1F470D #0D1F47 #470D1F
tetradic
#1F470D #0D3C47 #350D47 #47180D
square
#1F470D #0D3C47 #350D47 #47180D
split-complementary
#1F470D #180D47 #470D3C
monochromatic
#0B1A05 #0B1A05 #1F470D #367B16 #4CAE20

Accessibility & contrast

On white

10.68
#1F470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1F470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F470D#FFFFFF#000000##FFFFFF
##1F470D1.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)
#4A4004
Deuteranopia (green-blind)
#443D13
Tritanopia (blue-blind)
#1C443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f470d;
/* rgb */ color: rgb(31, 71, 13);
/* oklch */ color: oklch(35.5% 0.097 137.9);
Tailwind
colors: {
  custom: {
    50: '#607a50',
    500: '#1f470d',
    950: '#000000',
  },
}
SCSS
$custom: #1f470d;
$custom-light: #607a50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f470d",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 101.379,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.09681,
    "h": 137.9
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#1F470D
secondary
#682D82
accent
#3CECB5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F470D

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

Preview Lab → · Contrast checker → · Palette generator →

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