#1F591F#1F591F

#1F591F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.108 H 143.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1F591F
RGBrgb(31, 89, 31)
HSLhsl(120, 48%, 24%)
HSVhsv(120, 65%, 35%)
CMYKcmyk(65.2%, 0%, 65.2%, 65.1%)
CIE-LABlab(32.99, -31.86, 27.48)
CIE-LCHlch(32.99, 42.08, 139.22°)
OKLaboklab(41.17% -0.0865 0.0645)
OKLCHoklch(41.17% 0.108 143.3)
XYZxyz(4.3845, 7.5346, 2.5193)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F591F #591F59
analogous
#3C591F #1F591F #1F593C
triadic
#1F591F #1F1F59 #591F1F
tetradic
#1F591F #1F3C59 #591F59 #593C1F
square
#1F591F #1F3C59 #591F59 #593C1F
split-complementary
#1F591F #3C1F59 #591F3C
monochromatic
#081708 #0F2C0F #1F591F #2F862F #3FB43F

Accessibility & contrast

On white

8.38
#1F591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1F591F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F591F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F591F#FFFFFF#000000##FFFFFF
##1F591F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#14564D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f591f;
/* rgb */ color: rgb(31, 89, 31);
/* oklch */ color: oklch(41.2% 0.108 143.3);
Tailwind
colors: {
  custom: {
    50: '#62885d',
    500: '#1f591f',
    950: '#000000',
  },
}
SCSS
$custom: #1f591f;
$custom-light: #62885d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f591f",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.10795,
    "h": 143.3
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#1F591F
secondary
#8E468E
accent
#50D8D8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #1F591F

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

Preview Lab → · Contrast checker → · Palette generator →

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