#1F7F4F#1F7F4F

#1F7F4F is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.0% C 0.115 H 156.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F7F4F
RGBrgb(31, 127, 79)
HSLhsl(150, 61%, 31%)
HSVhsv(150, 76%, 50%)
CMYKcmyk(75.6%, 0%, 37.8%, 50.2%)
CIE-LABlab(47.02, -39.06, 18.46)
CIE-LCHlch(47.02, 43.20, 154.71°)
OKLaboklab(52.99% -0.1056 0.0463)
OKLCHoklch(52.99% 0.115 156.3)
XYZxyz(9.5648, 16.0335, 9.9863)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F4F #7F1F4F
analogous
#1F7F1F #1F7F4F #1F7F7F
triadic
#1F7F4F #4F1F7F #7F4F1F
tetradic
#1F7F4F #1F1F7F #7F1F4F #7F7F1F
square
#1F7F4F #1F1F7F #7F1F4F #7F7F1F
split-complementary
#1F7F4F #7F1F7F #7F1F1F
monochromatic
#071D12 #134E30 #1F7F4F #2BB06E #46D28C

Accessibility & contrast

On white

4.99
#1F7F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F7F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F4F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F4F#FFFFFF#000000##FFFFFF
##1F7F4F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7f4f;
/* rgb */ color: rgb(31, 127, 79);
/* oklch */ color: oklch(53.0% 0.115 156.3);
Tailwind
colors: {
  custom: {
    50: '#6aa580',
    500: '#1f7f4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f4f;
$custom-light: #6aa580;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f4f",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 150,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.11532,
    "h": 156.3
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#1F7F4F
secondary
#B2487D
accent
#4494E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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