#1F560F#1F560F

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

Color values

HEX#1F560F
RGBrgb(31, 86, 15)
HSLhsl(106, 70%, 20%)
HSVhsv(106, 83%, 34%)
CMYKcmyk(64%, 0%, 82.6%, 66.3%)
CIE-LABlab(31.76, -32.27, 33.47)
CIE-LCHlch(31.76, 46.49, 133.95°)
OKLaboklab(40.11% -0.0887 0.075)
OKLCHoklch(40.11% 0.116 139.8)
XYZxyz(3.9789, 6.9810, 1.5896)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F560F #460F56
analogous
#43560F #1F560F #0F5623
triadic
#1F560F #0F1F56 #560F1F
tetradic
#1F560F #0F4356 #460F56 #56230F
square
#1F560F #0F4356 #460F56 #56230F
split-complementary
#1F560F #230F56 #560F43
monochromatic
#091A05 #0C2206 #1F560F #328A18 #45BE21

Accessibility & contrast

On white

8.76
#1F560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F560F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F560F#FFFFFF#000000##FFFFFF
##1F560F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f560f;
/* rgb */ color: rgb(31, 86, 15);
/* oklch */ color: oklch(40.1% 0.116 139.8);
Tailwind
colors: {
  custom: {
    50: '#638653',
    500: '#1f560f',
    950: '#000000',
  },
}
SCSS
$custom: #1f560f;
$custom-light: #638653;
$custom-dark: #000000;
JSON
{
  "hex": "#1f560f",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 106.479,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.1161,
    "h": 139.8
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#1F560F
secondary
#7A3190
accent
#3BEDC5
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F560F

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

Preview Lab → · Contrast checker → · Palette generator →

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