#1F7259#1F7259

#1F7259 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.088 H 168.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F7259
RGBrgb(31, 114, 89)
HSLhsl(162, 57%, 28%)
HSVhsv(162, 73%, 45%)
CMYKcmyk(72.8%, 0%, 21.9%, 55.3%)
CIE-LABlab(42.83, -31.01, 6.83)
CIE-LCHlch(42.83, 31.75, 167.58°)
OKLaboklab(49.62% -0.0863 0.0175)
OKLCHoklch(49.62% 0.088 168.6)
XYZxyz(8.3846, 13.0462, 11.5255)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7259 #721F38
analogous
#1F722F #1F7259 #1F6172
triadic
#1F7259 #591F72 #72591F
tetradic
#1F7259 #2F1F72 #721F38 #61721F
square
#1F7259 #2F1F72 #721F38 #61721F
split-complementary
#1F7259 #721F61 #722F1F
monochromatic
#071813 #124233 #1F7259 #2CA27F #40CBA1

Accessibility & contrast

On white

5.82
#1F7259 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7259 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7259
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7259#FFFFFF#000000##FFFFFF
##1F72591.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A58
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#00736B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7259;
/* rgb */ color: rgb(31, 114, 89);
/* oklch */ color: oklch(49.6% 0.088 168.6);
Tailwind
colors: {
  custom: {
    50: '#679b87',
    500: '#1f7259',
    950: '#000000',
  },
}
SCSS
$custom: #1f7259;
$custom-light: #679b87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7259",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 89
  },
  "hsl": {
    "h": 161.928,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.08806,
    "h": 168.6
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#1F7259
secondary
#A64764
accent
#4775E0
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #1F7259

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

Preview Lab → · Contrast checker → · Palette generator →

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