#1F591E#1F591E

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

Color values

HEX#1F591E
RGBrgb(31, 89, 30)
HSLhsl(119, 50%, 23%)
HSVhsv(119, 66%, 35%)
CMYKcmyk(65.2%, 0%, 66.3%, 65.1%)
CIE-LABlab(32.98, -31.99, 27.98)
CIE-LCHlch(32.98, 42.50, 138.82°)
OKLaboklab(41.16% -0.087 0.0655)
OKLCHoklch(41.16% 0.109 143)
XYZxyz(4.3716, 7.5294, 2.4510)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F591E #581E59
analogous
#3C591E #1F591E #1E593A
triadic
#1F591E #1E1F59 #591E1F
tetradic
#1F591E #1E3C59 #581E59 #593A1E
square
#1F591E #1E3C59 #581E59 #593A1E
split-complementary
#1F591E #3A1E59 #591E3C
monochromatic
#081708 #0F2B0F #1F591E #2F872D #3FB53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F591E#FFFFFF#000000##FFFFFF
##1F591E1.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)
#5B5117
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#14564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f591e;
/* rgb */ color: rgb(31, 89, 30);
/* oklch */ color: oklch(41.2% 0.109 143.0);
Tailwind
colors: {
  custom: {
    50: '#62885c',
    500: '#1f591e',
    950: '#000000',
  },
}
SCSS
$custom: #1f591e;
$custom-light: #62885c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f591e",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 118.983,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.10886,
    "h": 143
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#1F591E
secondary
#8D458E
accent
#4FD9D7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #1F591E

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

Preview Lab → · Contrast checker → · Palette generator →

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