#1F470E#1F470E

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

Color values

HEX#1F470E
RGBrgb(31, 71, 14)
HSLhsl(102, 67%, 17%)
HSVhsv(102, 80%, 28%)
CMYKcmyk(56.3%, 0%, 80.3%, 72.2%)
CIE-LABlab(26.24, -25.89, 28.39)
CIE-LCHlch(26.24, 38.42, 132.36°)
OKLaboklab(35.55% -0.0715 0.0642)
OKLCHoklch(35.55% 0.096 138.1)
XYZxyz(2.8975, 4.8293, 1.1948)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F470E #360E47
analogous
#3C470E #1F470E #0E471A
triadic
#1F470E #0E1F47 #470E1F
tetradic
#1F470E #0E3C47 #360E47 #471A0E
square
#1F470E #0E3C47 #360E47 #471A0E
split-complementary
#1F470E #1A0E47 #470E3C
monochromatic
#0B1A05 #0B1A05 #1F470E #357A18 #4CAD22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F470E#FFFFFF#000000##FFFFFF
##1F470E1.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)
#494005
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#1C443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f470e;
/* rgb */ color: rgb(31, 71, 14);
/* oklch */ color: oklch(35.6% 0.096 138.1);
Tailwind
colors: {
  custom: {
    50: '#607a51',
    500: '#1f470e',
    950: '#000000',
  },
}
SCSS
$custom: #1f470e;
$custom-light: #607a51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f470e",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 102.105,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.0961,
    "h": 138.1
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#1F470E
secondary
#692F82
accent
#3EEAB7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F470E

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

Preview Lab → · Contrast checker → · Palette generator →

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