#1F4E37#1F4E37

#1F4E37 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.4% C 0.065 H 159.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1F4E37
RGBrgb(31, 78, 55)
HSLhsl(151, 43%, 21%)
HSVhsv(151, 60%, 31%)
CMYKcmyk(60.3%, 0%, 29.5%, 69.4%)
CIE-LABlab(29.45, -22.30, 8.89)
CIE-LCHlch(29.45, 24.01, 158.28°)
OKLaboklab(38.4% -0.0612 0.0227)
OKLCHoklch(38.4% 0.065 159.7)
XYZxyz(3.9787, 6.0156, 4.5651)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E37 #4E1F36
analogous
#1F4E20 #1F4E37 #1F4E4E
triadic
#1F4E37 #371F4E #4E371F
tetradic
#1F4E37 #201F4E #4E1F36 #4E4E1F
square
#1F4E37 #201F4E #4E1F36 #4E4E1F
split-complementary
#1F4E37 #4E1F4E #4E201F
monochromatic
#09160F #0E2218 #1F4E37 #307A56 #42A675

Accessibility & contrast

On white

9.53
#1F4E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E37
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E37#FFFFFF#000000##FFFFFF
##1F4E371.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4836
Deuteranopia (green-blind)
#464338
Tritanopia (blue-blind)
#0E4E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4e37;
/* rgb */ color: rgb(31, 78, 55);
/* oklch */ color: oklch(38.4% 0.065 159.7);
Tailwind
colors: {
  custom: {
    50: '#5f806d',
    500: '#1f4e37',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e37;
$custom-light: #5f806d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e37",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 55
  },
  "hsl": {
    "h": 150.638,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.06527,
    "h": 159.7
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#1F4E37
secondary
#834664
accent
#5593D3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A07
muted
#797C7A

Preview Lab

Preview with #1F4E37

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

Preview Lab → · Contrast checker → · Palette generator →

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