#1F561B#1F561B

#1F561B is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.107 H 142.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1F561B
RGBrgb(31, 86, 27)
HSLhsl(116, 52%, 22%)
HSVhsv(116, 69%, 34%)
CMYKcmyk(64%, 0%, 68.6%, 66.3%)
CIE-LABlab(31.87, -31.10, 28.24)
CIE-LCHlch(31.87, 42.01, 137.75°)
OKLaboklab(40.23% -0.0847 0.0657)
OKLCHoklch(40.23% 0.107 142.2)
XYZxyz(4.0905, 7.0256, 2.1772)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F561B #521B56
analogous
#3D561B #1F561B #1B5635
triadic
#1F561B #1B1F56 #561B1F
tetradic
#1F561B #1B3D56 #521B56 #56351B
square
#1F561B #1B3D56 #521B56 #56351B
split-complementary
#1F561B #351B56 #561B3D
monochromatic
#081707 #0E270C #1F561B #30852A #41B338

Accessibility & contrast

On white

8.73
#1F561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F561B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F561B#FFFFFF#000000##FFFFFF
##1F561B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f561b;
/* rgb */ color: rgb(31, 86, 27);
/* oklch */ color: oklch(40.2% 0.107 142.2);
Tailwind
colors: {
  custom: {
    50: '#62865a',
    500: '#1f561b',
    950: '#000000',
  },
}
SCSS
$custom: #1f561b;
$custom-light: #62865a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f561b",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 115.932,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40227,
    "c": 0.1072,
    "h": 142.2
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#1F561B
secondary
#87418C
accent
#4CDCD2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #1F561B

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

Preview Lab → · Contrast checker → · Palette generator →

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