#1F7A4E#1F7A4E

#1F7A4E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.6% C 0.109 H 157.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F7A4E
RGBrgb(31, 122, 78)
HSLhsl(151, 59%, 30%)
HSVhsv(151, 75%, 48%)
CMYKcmyk(74.6%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.30, -37.20, 16.72)
CIE-LCHlch(45.30, 40.78, 155.79°)
OKLaboklab(51.57% -0.1008 0.0421)
OKLCHoklch(51.57% 0.109 157.3)
XYZxyz(8.8989, 14.7594, 9.5861)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A4E #7A1F4B
analogous
#1F7A21 #1F7A4E #1F787A
triadic
#1F7A4E #4E1F7A #7A4E1F
tetradic
#1F7A4E #211F7A #7A1F4B #787A1F
square
#1F7A4E #211F7A #7A1F4B #787A1F
split-complementary
#1F7A4E #7A1F78 #7A211F
monochromatic
#061810 #13492F #1F7A4E #2BAB6D #44CF8C

Accessibility & contrast

On white

5.31
#1F7A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F7A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A4E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A4E#FFFFFF#000000##FFFFFF
##1F7A4E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7a4e;
/* rgb */ color: rgb(31, 122, 78);
/* oklch */ color: oklch(51.6% 0.109 157.3);
Tailwind
colors: {
  custom: {
    50: '#69a180',
    500: '#1f7a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a4e;
$custom-light: #69a180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a4e",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 150.989,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.10922,
    "h": 157.3
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#1F7A4E
secondary
#AD4779
accent
#4591E3
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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