#1F470B#1F470B

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

Color values

HEX#1F470B
RGBrgb(31, 71, 11)
HSLhsl(100, 73%, 16%)
HSVhsv(100, 85%, 28%)
CMYKcmyk(56.3%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.22, -26.13, 29.62)
CIE-LCHlch(26.22, 39.50, 131.42°)
OKLaboklab(35.53% -0.0724 0.0663)
OKLCHoklch(35.53% 0.098 137.5)
XYZxyz(2.8786, 4.8217, 1.0955)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F470B #330B47
analogous
#3D470B #1F470B #0B4715
triadic
#1F470B #0B1F47 #470B1F
tetradic
#1F470B #0B3D47 #330B47 #47150B
square
#1F470B #0B3D47 #330B47 #47150B
split-complementary
#1F470B #150B47 #470B3D
monochromatic
#0C1A04 #0C1A04 #1F470B #367C13 #4DB11B

Accessibility & contrast

On white

10.69
#1F470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F470B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F470B#FFFFFF#000000##FFFFFF
##1F470B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4001
Deuteranopia (green-blind)
#443D11
Tritanopia (blue-blind)
#1C443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f470b;
/* rgb */ color: rgb(31, 71, 11);
/* oklch */ color: oklch(35.5% 0.098 137.5);
Tailwind
colors: {
  custom: {
    50: '#607a4f',
    500: '#1f470b',
    950: '#000000',
  },
}
SCSS
$custom: #1f470b;
$custom-light: #607a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f470b",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 100,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.09815,
    "h": 137.5
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#1F470B
secondary
#662A83
accent
#38F0B3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F470B

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

Preview Lab → · Contrast checker → · Palette generator →

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