#1F591A#1F591A

#1F591A is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.112 H 142.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1F591A
RGBrgb(31, 89, 26)
HSLhsl(115, 55%, 23%)
HSVhsv(115, 71%, 35%)
CMYKcmyk(65.2%, 0%, 70.8%, 65.1%)
CIE-LABlab(32.94, -32.47, 29.92)
CIE-LCHlch(32.94, 44.15, 137.34°)
OKLaboklab(41.11% -0.0885 0.0691)
OKLCHoklch(41.11% 0.112 142)
XYZxyz(4.3237, 7.5102, 2.1989)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F591A #541A59
analogous
#3F591A #1F591A #1A5934
triadic
#1F591A #1A1F59 #591A1F
tetradic
#1F591A #1A3F59 #541A59 #59341A
square
#1F591A #1A3F59 #541A59 #59341A
split-complementary
#1F591A #341A59 #591A3F
monochromatic
#081807 #0F2A0C #1F591A #2F8828 #40B836

Accessibility & contrast

On white

8.39
#1F591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F591A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F591A#FFFFFF#000000##FFFFFF
##1F591A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#15564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f591a;
/* rgb */ color: rgb(31, 89, 26);
/* oklch */ color: oklch(41.1% 0.112 142.0);
Tailwind
colors: {
  custom: {
    50: '#63885a',
    500: '#1f591a',
    950: '#000000',
  },
}
SCSS
$custom: #1f591a;
$custom-light: #63885a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f591a",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 115.238,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.11229,
    "h": 142
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#1F591A
secondary
#89408F
accent
#4ADED2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #1F591A

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

Preview Lab → · Contrast checker → · Palette generator →

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