#1F7D4F#1F7D4F

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

Color values

HEX#1F7D4F
RGBrgb(31, 125, 79)
HSLhsl(151, 60%, 31%)
HSVhsv(151, 75%, 49%)
CMYKcmyk(75.2%, 0%, 36.8%, 51%)
CIE-LABlab(46.34, -38.23, 17.55)
CIE-LCHlch(46.34, 42.07, 155.35°)
OKLaboklab(52.43% -0.1035 0.0441)
OKLCHoklch(52.43% 0.113 156.9)
XYZxyz(9.3091, 15.5220, 9.9010)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4F #7D1F4D
analogous
#1F7D20 #1F7D4F #1F7C7D
triadic
#1F7D4F #4F1F7D #7D4F1F
tetradic
#1F7D4F #201F7D #7D1F4D #7C7D1F
square
#1F7D4F #201F7D #7D1F4D #7C7D1F
split-complementary
#1F7D4F #7D1F7C #7D201F
monochromatic
#071B11 #134C30 #1F7D4F #2BAE6E #45D18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7D4F#FFFFFF#000000##FFFFFF
##1F7D4F1.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)
#7C734C
Deuteranopia (green-blind)
#716A52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d4f;
/* rgb */ color: rgb(31, 125, 79);
/* oklch */ color: oklch(52.4% 0.113 156.9);
Tailwind
colors: {
  custom: {
    50: '#69a380',
    500: '#1f7d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4f;
$custom-light: #69a380;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4f",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 150.638,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.11251,
    "h": 156.9
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#1F7D4F
secondary
#B0487B
accent
#4492E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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