#1F561D#1F561D

#1F561D is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.105 H 142.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1F561D
RGBrgb(31, 86, 29)
HSLhsl(118, 50%, 23%)
HSVhsv(118, 66%, 34%)
CMYKcmyk(64%, 0%, 66.3%, 66.3%)
CIE-LABlab(31.89, -30.85, 27.25)
CIE-LCHlch(31.89, 41.16, 138.54°)
OKLaboklab(40.25% -0.0839 0.0638)
OKLCHoklch(40.25% 0.105 142.8)
XYZxyz(4.1144, 7.0352, 2.3033)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F561D #541D56
analogous
#3B561D #1F561D #1D5638
triadic
#1F561D #1D1F56 #561D1F
tetradic
#1F561D #1D3B56 #541D56 #56381D
square
#1F561D #1D3B56 #541D56 #56381D
split-complementary
#1F561D #381D56 #561D3B
monochromatic
#081708 #0F280E #1F561D #2F842C #40B23C

Accessibility & contrast

On white

8.72
#1F561D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1F561D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F561D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F561D#FFFFFF#000000##FFFFFF
##1F561D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#16534A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f561d;
/* rgb */ color: rgb(31, 86, 29);
/* oklch */ color: oklch(40.3% 0.105 142.8);
Tailwind
colors: {
  custom: {
    50: '#62865b',
    500: '#1f561d',
    950: '#000000',
  },
}
SCSS
$custom: #1f561d;
$custom-light: #62865b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f561d",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 29
  },
  "hsl": {
    "h": 117.895,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40251,
    "c": 0.10543,
    "h": 142.8
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#1F561D
secondary
#89448B
accent
#4FD9D4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1F561D

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

Preview Lab → · Contrast checker → · Palette generator →

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