#1A7C4D#1A7C4D

#1A7C4D is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.115 H 156.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1A7C4D
RGBrgb(26, 124, 77)
HSLhsl(151, 65%, 29%)
HSVhsv(151, 79%, 49%)
CMYKcmyk(79%, 0%, 37.9%, 51.4%)
CIE-LABlab(45.87, -39.00, 18.04)
CIE-LCHlch(45.87, 42.97, 155.18°)
OKLaboklab(52% -0.1054 0.0453)
OKLCHoklch(52% 0.115 156.8)
XYZxyz(8.9723, 15.1697, 9.4749)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C4D #7C1A49
analogous
#1A7C1C #1A7C4D #1A7A7C
triadic
#1A7C4D #4D1A7C #7C4D1A
tetradic
#1A7C4D #1C1A7C #7C1A49 #7A7C1A
square
#1A7C4D #1C1A7C #7C1A49 #7A7C1A
split-complementary
#1A7C4D #7C1A7A #7C1C1A
monochromatic
#051910 #0F492E #1A7C4D #25AF6C #3BD68B

Accessibility & contrast

On white

5.21
#1A7C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1A7C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C4D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C4D#FFFFFF#000000##FFFFFF
##1A7C4D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7c4d;
/* rgb */ color: rgb(26, 124, 77);
/* oklch */ color: oklch(52.0% 0.115 156.8);
Tailwind
colors: {
  custom: {
    50: '#67a37f',
    500: '#1a7c4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c4d;
$custom-light: #67a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c4d",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 151.224,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.11471,
    "h": 156.8
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#1A7C4D
secondary
#B04277
accent
#4090E8
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1A7C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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