#1F6C4E#1F6C4E

#1F6C4E is a mid, moderate teal. Relative luminance 0.116; OKLCH L 47.6% C 0.089 H 163.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#1F6C4E
RGBrgb(31, 108, 78)
HSLhsl(157, 55%, 27%)
HSVhsv(157, 71%, 42%)
CMYKcmyk(71.3%, 0%, 27.8%, 57.6%)
CIE-LABlab(40.52, -31.05, 10.15)
CIE-LCHlch(40.52, 32.67, 161.90°)
OKLaboklab(47.63% -0.0853 0.0259)
OKLCHoklch(47.63% 0.089 163.1)
XYZxyz(7.3020, 11.5657, 9.0538)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C4E #6C1F3D
analogous
#1F6C27 #1F6C4E #1F646C
triadic
#1F6C4E #4E1F6C #6C4E1F
tetradic
#1F6C4E #271F6C #6C1F3D #646C1F
square
#1F6C4E #271F6C #6C1F3D #646C1F
split-complementary
#1F6C4E #6C1F64 #6C271F
monochromatic
#071811 #113C2C #1F6C4E #2D9C70 #3EC892

Accessibility & contrast

On white

6.34
#1F6C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F6C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C4E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C4E#FFFFFF#000000##FFFFFF
##1F6C4E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#605D50
Tritanopia (blue-blind)
#006C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6c4e;
/* rgb */ color: rgb(31, 108, 78);
/* oklch */ color: oklch(47.6% 0.089 163.1);
Tailwind
colors: {
  custom: {
    50: '#66977f',
    500: '#1f6c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c4e;
$custom-light: #66977f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c4e",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 78
  },
  "hsl": {
    "h": 156.623,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.08911,
    "h": 163.1
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#1F6C4E
secondary
#A0476A
accent
#4983DF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #1F6C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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