#1A7F4F#1A7F4F

#1A7F4F is a mid, moderate teal. Relative luminance 0.160; OKLCH L 52.9% C 0.117 H 156.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1A7F4F
RGBrgb(26, 127, 79)
HSLhsl(151, 66%, 30%)
HSVhsv(151, 80%, 50%)
CMYKcmyk(79.5%, 0%, 37.8%, 50.2%)
CIE-LABlab(46.92, -39.79, 18.32)
CIE-LCHlch(46.92, 43.80, 155.28°)
OKLaboklab(52.88% -0.1075 0.046)
OKLCHoklch(52.88% 0.117 156.9)
XYZxyz(9.4257, 15.9617, 9.9798)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F4F #7F1A4A
analogous
#1A7F1C #1A7F4F #1A7D7F
triadic
#1A7F4F #4F1A7F #7F4F1A
tetradic
#1A7F4F #1C1A7F #7F1A4A #7D7F1A
square
#1A7F4F #1C1A7F #7F1A4A #7D7F1A
split-complementary
#1A7F4F #7F1A7D #7F1C1A
monochromatic
#051910 #104C2F #1A7F4F #24B26F #3CD78E

Accessibility & contrast

On white

5.01
#1A7F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1A7F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F4F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F4F#FFFFFF#000000##FFFFFF
##1A7F4F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a7f4f;
/* rgb */ color: rgb(26, 127, 79);
/* oklch */ color: oklch(52.9% 0.117 156.9);
Tailwind
colors: {
  custom: {
    50: '#68a580',
    500: '#1a7f4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f4f;
$custom-light: #68a580;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f4f",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 151.485,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.11694,
    "h": 156.9
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#1A7F4F
secondary
#B34278
accent
#3F90E9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1A7F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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