#1F4113#1F4113

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

Color values

HEX#1F4113
RGBrgb(31, 65, 19)
HSLhsl(104, 55%, 16%)
HSVhsv(104, 71%, 25%)
CMYKcmyk(52.3%, 0%, 70.8%, 74.5%)
CIE-LABlab(24.06, -22.55, 23.65)
CIE-LCHlch(24.06, 32.67, 133.63°)
OKLaboklab(33.78% -0.0621 0.0549)
OKLCHoklch(33.78% 0.083 138.5)
XYZxyz(2.5728, 4.1187, 1.2754)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4113 #351341
analogous
#364113 #1F4113 #13411E
triadic
#1F4113 #131F41 #41131F
tetradic
#1F4113 #133641 #351341 #411E13
square
#1F4113 #133641 #351341 #411E13
split-complementary
#1F4113 #1E1341 #411336
monochromatic
#0B1807 #0B1807 #1F4113 #367021 #4CA02F

Accessibility & contrast

On white

11.51
#1F4113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4113
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4113#FFFFFF#000000##FFFFFF
##1F41131.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4113;
/* rgb */ color: rgb(31, 65, 19);
/* oklch */ color: oklch(33.8% 0.083 138.5);
Tailwind
colors: {
  custom: {
    50: '#5e7653',
    500: '#1f4113',
    950: '#000000',
  },
}
SCSS
$custom: #1f4113;
$custom-light: #5e7653;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4113",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 19
  },
  "hsl": {
    "h": 104.348,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33776,
    "c": 0.08289,
    "h": 138.5
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#1F4113
secondary
#68367A
accent
#4ADEB7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1F4113

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

Preview Lab → · Contrast checker → · Palette generator →

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