#1F5437#1F5437

#1F5437 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.075 H 156.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#1F5437
RGBrgb(31, 84, 55)
HSLhsl(147, 46%, 23%)
HSVhsv(147, 63%, 33%)
CMYKcmyk(63.1%, 0%, 34.5%, 67.1%)
CIE-LABlab(31.60, -25.29, 11.83)
CIE-LCHlch(31.60, 27.92, 154.92°)
OKLaboklab(40.15% -0.0689 0.0299)
OKLCHoklch(40.15% 0.075 156.5)
XYZxyz(4.4246, 6.9074, 4.7138)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5437 #541F3C
analogous
#21541F #1F5437 #1F5452
triadic
#1F5437 #371F54 #54371F
tetradic
#1F5437 #1F2154 #541F3C #54521F
square
#1F5437 #1F2154 #541F3C #54521F
split-complementary
#1F5437 #521F54 #541F21
monochromatic
#08160F #0F271A #1F5437 #2F8154 #40AD72

Accessibility & contrast

On white

8.82
#1F5437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F5437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5437
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5437#FFFFFF#000000##FFFFFF
##1F54371.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D35
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#0C534C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f5437;
/* rgb */ color: rgb(31, 84, 55);
/* oklch */ color: oklch(40.2% 0.075 156.5);
Tailwind
colors: {
  custom: {
    50: '#60846e',
    500: '#1f5437',
    950: '#000000',
  },
}
SCSS
$custom: #1f5437;
$custom-light: #60846e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5437",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 55
  },
  "hsl": {
    "h": 147.17,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.0751,
    "h": 156.5
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#1F5437
secondary
#89466B
accent
#529AD6
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1F5437

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

Preview Lab → · Contrast checker → · Palette generator →

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