#1F560E#1F560E

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

Color values

HEX#1F560E
RGBrgb(31, 86, 14)
HSLhsl(106, 72%, 20%)
HSVhsv(106, 84%, 34%)
CMYKcmyk(64%, 0%, 83.7%, 66.3%)
CIE-LABlab(31.76, -32.34, 33.84)
CIE-LCHlch(31.76, 46.81, 133.70°)
OKLaboklab(40.1% -0.0889 0.0756)
OKLCHoklch(40.1% 0.117 139.6)
XYZxyz(3.9720, 6.9782, 1.5530)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F560E #450E56
analogous
#43560E #1F560E #0E5621
triadic
#1F560E #0E1F56 #560E1F
tetradic
#1F560E #0E4356 #450E56 #56210E
square
#1F560E #0E4356 #450E56 #56210E
split-complementary
#1F560E #210E56 #560E43
monochromatic
#091A04 #0C2105 #1F560E #328B17 #45BF1F

Accessibility & contrast

On white

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

On black

2.40
#1F560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F560E#FFFFFF#000000##FFFFFF
##1F560E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f560e;
/* rgb */ color: rgb(31, 86, 14);
/* oklch */ color: oklch(40.1% 0.117 139.6);
Tailwind
colors: {
  custom: {
    50: '#638653',
    500: '#1f560e',
    950: '#000000',
  },
}
SCSS
$custom: #1f560e;
$custom-light: #638653;
$custom-dark: #000000;
JSON
{
  "hex": "#1f560e",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 105.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40103,
    "c": 0.11669,
    "h": 139.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#1F560E
secondary
#793090
accent
#39EFC4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F560E

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

Preview Lab → · Contrast checker → · Palette generator →

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