#1F5E4E#1F5E4E

#1F5E4E is a dark, moderate teal. Relative luminance 0.088; OKLCH L 43.7% C 0.069 H 173.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1F5E4E
RGBrgb(31, 94, 78)
HSLhsl(165, 50%, 25%)
HSVhsv(165, 67%, 37%)
CMYKcmyk(67%, 0%, 17%, 63.1%)
CIE-LABlab(35.69, -24.34, 3.30)
CIE-LCHlch(35.69, 24.56, 172.28°)
OKLaboklab(43.68% -0.0689 0.0084)
OKLCHoklch(43.68% 0.069 173.1)
XYZxyz(5.9423, 8.8461, 8.6006)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E4E #5E1F2F
analogous
#1F5E2F #1F5E4E #1F4F5E
triadic
#1F5E4E #4E1F5E #5E4E1F
tetradic
#1F5E4E #2F1F5E #5E1F2F #4F5E1F
square
#1F5E4E #2F1F5E #5E1F2F #4F5E1F
split-complementary
#1F5E4E #5E1F4F #5E2F1F
monochromatic
#081713 #103028 #1F5E4E #2E8C74 #3DBA9A

Accessibility & contrast

On white

7.58
#1F5E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1F5E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E4E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E4E#FFFFFF#000000##FFFFFF
##1F5E4E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#005F59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5e4e;
/* rgb */ color: rgb(31, 94, 78);
/* oklch */ color: oklch(43.7% 0.069 173.1);
Tailwind
colors: {
  custom: {
    50: '#638c7f',
    500: '#1f5e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e4e;
$custom-light: #638c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e4e",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 78
  },
  "hsl": {
    "h": 164.762,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.06939,
    "h": 173.1
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#1F5E4E
secondary
#93465A
accent
#4E71DA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #1F5E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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