#1F6B4E#1F6B4E

#1F6B4E is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.4% C 0.088 H 163.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#1F6B4E
RGBrgb(31, 107, 78)
HSLhsl(157, 55%, 27%)
HSVhsv(157, 71%, 42%)
CMYKcmyk(71%, 0%, 27.1%, 58%)
CIE-LABlab(40.17, -30.59, 9.67)
CIE-LCHlch(40.17, 32.09, 162.46°)
OKLaboklab(47.35% -0.0841 0.0247)
OKLCHoklch(47.35% 0.088 163.7)
XYZxyz(7.1972, 11.3560, 9.0189)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B4E #6B1F3C
analogous
#1F6B28 #1F6B4E #1F626B
triadic
#1F6B4E #4E1F6B #6B4E1F
tetradic
#1F6B4E #281F6B #6B1F3C #626B1F
square
#1F6B4E #281F6B #6B1F3C #626B1F
split-complementary
#1F6B4E #6B1F62 #6B281F
monochromatic
#071811 #113C2B #1F6B4E #2D9A71 #3DC792

Accessibility & contrast

On white

6.42
#1F6B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#1F6B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B4E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B4E#FFFFFF#000000##FFFFFF
##1F6B4E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69634C
Deuteranopia (green-blind)
#5F5C50
Tritanopia (blue-blind)
#006B63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6b4e;
/* rgb */ color: rgb(31, 107, 78);
/* oklch */ color: oklch(47.4% 0.088 163.7);
Tailwind
colors: {
  custom: {
    50: '#65967f',
    500: '#1f6b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b4e;
$custom-light: #65967f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b4e",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 78
  },
  "hsl": {
    "h": 157.105,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.08768,
    "h": 163.7
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#1F6B4E
secondary
#9F4768
accent
#4982DE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #1F6B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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