#1F7859#1F7859

#1F7859 is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.3% C 0.096 H 165.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#1F7859
RGBrgb(31, 120, 89)
HSLhsl(159, 59%, 30%)
HSVhsv(159, 74%, 47%)
CMYKcmyk(74.2%, 0%, 25.8%, 52.9%)
CIE-LABlab(44.86, -33.74, 9.70)
CIE-LCHlch(44.86, 35.11, 163.97°)
OKLaboklab(51.28% -0.093 0.0248)
OKLCHoklch(51.28% 0.096 165.1)
XYZxyz(9.0837, 14.4445, 11.7586)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7859 #781F3E
analogous
#1F782D #1F7859 #1F6B78
triadic
#1F7859 #591F78 #78591F
tetradic
#1F7859 #2D1F78 #781F3E #6B781F
square
#1F7859 #2D1F78 #781F3E #6B781F
split-complementary
#1F7859 #781F6B #782D1F
monochromatic
#061812 #124735 #1F7859 #2CA97D #43CE9E

Accessibility & contrast

On white

5.40
#1F7859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F7859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7859
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7859#FFFFFF#000000##FFFFFF
##1F78591.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F57
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7859;
/* rgb */ color: rgb(31, 120, 89);
/* oklch */ color: oklch(51.3% 0.096 165.1);
Tailwind
colors: {
  custom: {
    50: '#68a088',
    500: '#1f7859',
    950: '#000000',
  },
}
SCSS
$custom: #1f7859;
$custom-light: #68a088;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7859",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 89
  },
  "hsl": {
    "h": 159.101,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.09621,
    "h": 165.1
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#1F7859
secondary
#AB476A
accent
#467CE2
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F7859

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

Preview Lab → · Contrast checker → · Palette generator →

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