#1F412D#1F412D

#1F412D is a dark, muted green. Relative luminance 0.043; OKLCH L 34.3% C 0.054 H 156.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1F412D
RGBrgb(31, 65, 45)
HSLhsl(145, 35%, 19%)
HSVhsv(145, 52%, 25%)
CMYKcmyk(52.3%, 0%, 30.8%, 74.5%)
CIE-LABlab(24.52, -17.89, 8.46)
CIE-LCHlch(24.52, 19.78, 154.69°)
OKLaboklab(34.3% -0.049 0.0215)
OKLCHoklch(34.3% 0.054 156.3)
XYZxyz(2.9288, 4.2611, 3.1503)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F412D #411F33
analogous
#22411F #1F412D #1F413E
triadic
#1F412D #2D1F41 #412D1F
tetradic
#1F412D #1F2241 #411F33 #413E1F
square
#1F412D #1F2241 #411F33 #413E1F
split-complementary
#1F412D #3E1F41 #411F22
monochromatic
#0A150E #0B1810 #1F412D #336A4A #479466

Accessibility & contrast

On white

11.34
#1F412D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1F412D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F412D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F412D#FFFFFF#000000##FFFFFF
##1F412D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2C
Deuteranopia (green-blind)
#3C392E
Tritanopia (blue-blind)
#17403C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f412d;
/* rgb */ color: rgb(31, 65, 45);
/* oklch */ color: oklch(34.3% 0.054 156.3);
Tailwind
colors: {
  custom: {
    50: '#5d7666',
    500: '#1f412d',
    950: '#000000',
  },
}
SCSS
$custom: #1f412d;
$custom-light: #5d7666;
$custom-dark: #000000;
JSON
{
  "hex": "#1f412d",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 45
  },
  "hsl": {
    "h": 144.706,
    "s": 35.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34298,
    "c": 0.05356,
    "h": 156.3
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#1F412D
secondary
#754762
accent
#5C9ECB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #1F412D

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

Preview Lab → · Contrast checker → · Palette generator →

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