#1F4E36#1F4E36

#1F4E36 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.066 H 158.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1F4E36
RGBrgb(31, 78, 54)
HSLhsl(149, 43%, 21%)
HSVhsv(149, 60%, 31%)
CMYKcmyk(60.3%, 0%, 30.8%, 69.4%)
CIE-LABlab(29.43, -22.55, 9.48)
CIE-LCHlch(29.43, 24.46, 157.19°)
OKLaboklab(38.37% -0.0617 0.0241)
OKLCHoklch(38.37% 0.066 158.7)
XYZxyz(3.9550, 6.0061, 4.4402)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E36 #4E1F37
analogous
#204E1F #1F4E36 #1F4E4E
triadic
#1F4E36 #361F4E #4E361F
tetradic
#1F4E36 #1F204E #4E1F37 #4E4E1F
square
#1F4E36 #1F204E #4E1F37 #4E4E1F
split-complementary
#1F4E36 #4E1F4E #4E1F20
monochromatic
#09160F #0E2218 #1F4E36 #307A54 #42A673

Accessibility & contrast

On white

9.54
#1F4E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1F4E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E36
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E36#FFFFFF#000000##FFFFFF
##1F4E361.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4835
Deuteranopia (green-blind)
#474337
Tritanopia (blue-blind)
#0F4E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4e36;
/* rgb */ color: rgb(31, 78, 54);
/* oklch */ color: oklch(38.4% 0.066 158.7);
Tailwind
colors: {
  custom: {
    50: '#5f806d',
    500: '#1f4e36',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e36;
$custom-light: #5f806d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e36",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 54
  },
  "hsl": {
    "h": 149.362,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.0663,
    "h": 158.7
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#1F4E36
secondary
#834665
accent
#5595D3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A07
muted
#797C7A

Preview Lab

Preview with #1F4E36

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

Preview Lab → · Contrast checker → · Palette generator →

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