#1F4111#1F4111

#1F4111 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.8% C 0.085 H 137.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#1F4111
RGBrgb(31, 65, 17)
HSLhsl(103, 59%, 16%)
HSVhsv(103, 74%, 25%)
CMYKcmyk(52.3%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.04, -22.77, 24.66)
CIE-LCHlch(24.04, 33.57, 132.72°)
OKLaboklab(33.75% -0.0628 0.0568)
OKLCHoklch(33.75% 0.085 137.9)
XYZxyz(2.5565, 4.1122, 1.1892)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4111 #331141
analogous
#374111 #1F4111 #11411B
triadic
#1F4111 #111F41 #41111F
tetradic
#1F4111 #113741 #331141 #411B11
square
#1F4111 #113741 #331141 #411B11
split-complementary
#1F4111 #1B1141 #411137
monochromatic
#0C1806 #0C1806 #1F4111 #36721E #4DA22A

Accessibility & contrast

On white

11.52
#1F4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F4111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4111
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4111#FFFFFF#000000##FFFFFF
##1F41111.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#1D3F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f4111;
/* rgb */ color: rgb(31, 65, 17);
/* oklch */ color: oklch(33.8% 0.085 137.9);
Tailwind
colors: {
  custom: {
    50: '#5e7651',
    500: '#1f4111',
    950: '#000000',
  },
}
SCSS
$custom: #1f4111;
$custom-light: #5e7651;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4111",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 102.5,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.08472,
    "h": 137.9
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#1F4111
secondary
#66337B
accent
#46E2B4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #1F4111

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

Preview Lab → · Contrast checker → · Palette generator →

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