#1F3C19#1F3C19

#1F3C19 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.068 H 140.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1F3C19
RGBrgb(31, 60, 25)
HSLhsl(110, 41%, 17%)
HSVhsv(110, 58%, 24%)
CMYKcmyk(48.3%, 0%, 58.3%, 76.5%)
CIE-LABlab(22.28, -19.20, 18.17)
CIE-LCHlch(22.28, 26.43, 136.58°)
OKLaboklab(32.34% -0.0525 0.0437)
OKLCHoklch(32.34% 0.068 140.3)
XYZxyz(2.3563, 3.5931, 1.4889)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C19 #36193C
analogous
#313C19 #1F3C19 #193C25
triadic
#1F3C19 #191F3C #3C191F
tetradic
#1F3C19 #19313C #36193C #3C2519
square
#1F3C19 #19313C #36193C #3C2519
split-complementary
#1F3C19 #25193C #3C1931
monochromatic
#0B1609 #0B1609 #1F3C19 #35672B #4C923D

Accessibility & contrast

On white

12.22
#1F3C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1F3C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3C19
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3C19#FFFFFF#000000##FFFFFF
##1F3C191.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#1D3A34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1f3c19;
/* rgb */ color: rgb(31, 60, 25);
/* oklch */ color: oklch(32.3% 0.068 140.3);
Tailwind
colors: {
  custom: {
    50: '#5d7256',
    500: '#1f3c19',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c19;
$custom-light: #5d7256;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c19",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 25
  },
  "hsl": {
    "h": 109.714,
    "s": 41.176,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32343,
    "c": 0.0683,
    "h": 140.3
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#1F3C19
secondary
#693F72
accent
#57D1BC
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#040803
muted
#797B78

Preview Lab

Preview with #1F3C19

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

Preview Lab → · Contrast checker → · Palette generator →

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