#1F561E#1F561E

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

Color values

HEX#1F561E
RGBrgb(31, 86, 30)
HSLhsl(119, 48%, 23%)
HSVhsv(119, 65%, 34%)
CMYKcmyk(64%, 0%, 65.1%, 66.3%)
CIE-LABlab(31.90, -30.72, 26.75)
CIE-LCHlch(31.90, 40.73, 138.96°)
OKLaboklab(40.27% -0.0835 0.0628)
OKLCHoklch(40.27% 0.105 143.1)
XYZxyz(4.1270, 7.0402, 2.3695)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F561E #551E56
analogous
#3B561E #1F561E #1E5639
triadic
#1F561E #1E1F56 #561E1F
tetradic
#1F561E #1E3B56 #551E56 #56391E
square
#1F561E #1E3B56 #551E56 #56391E
split-complementary
#1F561E #391E56 #561E3B
monochromatic
#081708 #0F290E #1F561E #2F832E #40B13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F561E#FFFFFF#000000##FFFFFF
##1F561E1.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)
#584E18
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#15534A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f561e;
/* rgb */ color: rgb(31, 86, 30);
/* oklch */ color: oklch(40.3% 0.105 143.1);
Tailwind
colors: {
  custom: {
    50: '#62865c',
    500: '#1f561e',
    950: '#000000',
  },
}
SCSS
$custom: #1f561e;
$custom-light: #62865c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f561e",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 118.929,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.10451,
    "h": 143.1
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#1F561E
secondary
#8A458B
accent
#50D8D5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1F561E

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

Preview Lab → · Contrast checker → · Palette generator →

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