#1F591C#1F591C

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

Color values

HEX#1F591C
RGBrgb(31, 89, 28)
HSLhsl(117, 52%, 23%)
HSVhsv(117, 69%, 35%)
CMYKcmyk(65.2%, 0%, 68.5%, 65.1%)
CIE-LABlab(32.96, -32.24, 28.96)
CIE-LCHlch(32.96, 43.34, 138.06°)
OKLaboklab(41.14% -0.0877 0.0673)
OKLCHoklch(41.14% 0.111 142.5)
XYZxyz(4.3468, 7.5195, 2.3207)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F591C #561C59
analogous
#3D591C #1F591C #1C5937
triadic
#1F591C #1C1F59 #591C1F
tetradic
#1F591C #1C3D59 #561C59 #59371C
square
#1F591C #1C3D59 #561C59 #59371C
split-complementary
#1F591C #371C59 #591C3D
monochromatic
#081707 #0F2A0D #1F591C #2F882B #3FB639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F591C#FFFFFF#000000##FFFFFF
##1F591C1.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)
#5B5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#15564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f591c;
/* rgb */ color: rgb(31, 89, 28);
/* oklch */ color: oklch(41.1% 0.111 142.5);
Tailwind
colors: {
  custom: {
    50: '#62885b',
    500: '#1f591c',
    950: '#000000',
  },
}
SCSS
$custom: #1f591c;
$custom-light: #62885b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f591c",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 117.049,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.1106,
    "h": 142.5
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#1F591C
secondary
#8B428F
accent
#4CDCD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #1F591C

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

Preview Lab → · Contrast checker → · Palette generator →

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