#1F560C#1F560C

#1F560C is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.118 H 139.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1F560C
RGBrgb(31, 86, 12)
HSLhsl(105, 76%, 19%)
HSVhsv(105, 86%, 34%)
CMYKcmyk(64%, 0%, 86%, 66.3%)
CIE-LABlab(31.75, -32.48, 34.53)
CIE-LCHlch(31.75, 47.41, 133.24°)
OKLaboklab(40.09% -0.0894 0.0767)
OKLCHoklch(40.09% 0.118 139.4)
XYZxyz(3.9591, 6.9731, 1.4851)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F560C #430C56
analogous
#44560C #1F560C #0C561E
triadic
#1F560C #0C1F56 #560C1F
tetradic
#1F560C #0C4456 #430C56 #561E0C
square
#1F560C #0C4456 #430C56 #561E0C
split-complementary
#1F560C #1E0C56 #560C44
monochromatic
#0A1B04 #0C2005 #1F560C #328C13 #46C11B

Accessibility & contrast

On white

8.77
#1F560C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F560C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F560C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F560C#FFFFFF#000000##FFFFFF
##1F560C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D00
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#185348
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f560c;
/* rgb */ color: rgb(31, 86, 12);
/* oklch */ color: oklch(40.1% 0.118 139.4);
Tailwind
colors: {
  custom: {
    50: '#638652',
    500: '#1f560c',
    950: '#000000',
  },
}
SCSS
$custom: #1f560c;
$custom-light: #638652;
$custom-dark: #000000;
JSON
{
  "hex": "#1f560c",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 12
  },
  "hsl": {
    "h": 104.595,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.1178,
    "h": 139.4
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#1F560C
secondary
#772D91
accent
#36F2C2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #1F560C

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

Preview Lab → · Contrast checker → · Palette generator →

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