#1F6754#1F6754

#1F6754 is a mid, moderate teal. Relative luminance 0.106; OKLCH L 46.4% C 0.077 H 171.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#1F6754
RGBrgb(31, 103, 84)
HSLhsl(164, 54%, 26%)
HSVhsv(164, 70%, 40%)
CMYKcmyk(69.9%, 0%, 18.4%, 59.6%)
CIE-LABlab(38.95, -27.13, 4.31)
CIE-LCHlch(38.95, 27.47, 170.98°)
OKLaboklab(46.4% -0.0764 0.011)
OKLCHoklch(46.4% 0.077 171.8)
XYZxyz(7.0148, 10.6311, 10.0681)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6754 #671F32
analogous
#1F6730 #1F6754 #1F5667
triadic
#1F6754 #541F67 #67541F
tetradic
#1F6754 #301F67 #671F32 #56671F
square
#1F6754 #301F67 #671F32 #56671F
split-complementary
#1F6754 #671F56 #67301F
monochromatic
#071813 #11382E #1F6754 #2D967A #3CC4A0

Accessibility & contrast

On white

6.72
#1F6754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1F6754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6754
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6754#FFFFFF#000000##FFFFFF
##1F67541.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646053
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#006861
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6754;
/* rgb */ color: rgb(31, 103, 84);
/* oklch */ color: oklch(46.4% 0.077 171.8);
Tailwind
colors: {
  custom: {
    50: '#659384',
    500: '#1f6754',
    950: '#000000',
  },
}
SCSS
$custom: #1f6754;
$custom-light: #659384;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6754",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 84
  },
  "hsl": {
    "h": 164.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.07715,
    "h": 171.8
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#1F6754
secondary
#9B465D
accent
#4B71DD
background
#F6F9F8
surface
#EBF1EF
border
#C6CBCA
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #1F6754

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

Preview Lab → · Contrast checker → · Palette generator →

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