#1F440F#1F440F

#1F440F is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.091 H 137.9°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1F440F
RGBrgb(31, 68, 15)
HSLhsl(102, 64%, 16%)
HSVhsv(102, 78%, 27%)
CMYKcmyk(54.4%, 0%, 77.9%, 73.3%)
CIE-LABlab(25.14, -24.41, 26.80)
CIE-LCHlch(25.14, 36.25, 132.33°)
OKLaboklab(34.65% -0.0674 0.061)
OKLCHoklch(34.65% 0.091 137.9)
XYZxyz(2.7183, 4.4599, 1.1694)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F440F #340F44
analogous
#3A440F #1F440F #0F441A
triadic
#1F440F #0F1F44 #440F1F
tetradic
#1F440F #0F3A44 #340F44 #441A0F
square
#1F440F #0F3A44 #340F44 #441A0F
split-complementary
#1F440F #1A0F44 #440F3A
monochromatic
#0B1906 #0B1906 #1F440F #36761A #4DA825

Accessibility & contrast

On white

11.10
#1F440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F440F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F440F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F440F#FFFFFF#000000##FFFFFF
##1F440F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E07
Deuteranopia (green-blind)
#423A14
Tritanopia (blue-blind)
#1C4139
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f440f;
/* rgb */ color: rgb(31, 68, 15);
/* oklch */ color: oklch(34.6% 0.091 137.9);
Tailwind
colors: {
  custom: {
    50: '#5f7851',
    500: '#1f440f',
    950: '#000000',
  },
}
SCSS
$custom: #1f440f;
$custom-light: #5f7851;
$custom-dark: #000000;
JSON
{
  "hex": "#1f440f",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 101.887,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.09096,
    "h": 137.9
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#1F440F
secondary
#67307E
accent
#41E7B5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F440F

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

Preview Lab → · Contrast checker → · Palette generator →

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