#1F7D4E#1F7D4E

#1F7D4E is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.4% C 0.113 H 156.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7D4E
RGBrgb(31, 125, 78)
HSLhsl(150, 60%, 31%)
HSVhsv(150, 75%, 49%)
CMYKcmyk(75.2%, 0%, 37.6%, 51%)
CIE-LABlab(46.32, -38.45, 18.09)
CIE-LCHlch(46.32, 42.49, 154.80°)
OKLaboklab(52.41% -0.104 0.0454)
OKLCHoklch(52.41% 0.113 156.4)
XYZxyz(9.2729, 15.5075, 9.7108)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4E #7D1F4E
analogous
#1F7D1F #1F7D4E #1F7D7D
triadic
#1F7D4E #4E1F7D #7D4E1F
tetradic
#1F7D4E #1F1F7D #7D1F4E #7D7D1F
square
#1F7D4E #1F1F7D #7D1F4E #7D7D1F
split-complementary
#1F7D4E #7D1F7D #7D1F1F
monochromatic
#071B11 #134C2F #1F7D4E #2BAE6D #45D18B

Accessibility & contrast

On white

5.12
#1F7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1F7D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D4E#FFFFFF#000000##FFFFFF
##1F7D4E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734B
Deuteranopia (green-blind)
#716A51
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d4e;
/* rgb */ color: rgb(31, 125, 78);
/* oklch */ color: oklch(52.4% 0.113 156.4);
Tailwind
colors: {
  custom: {
    50: '#69a380',
    500: '#1f7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4e;
$custom-light: #69a380;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4e",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 150,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.11348,
    "h": 156.4
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#1F7D4E
secondary
#B0487C
accent
#4494E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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