#1A7952#1A7952

#1A7952 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.106 H 160.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1A7952
RGBrgb(26, 121, 82)
HSLhsl(155, 65%, 29%)
HSVhsv(155, 79%, 47%)
CMYKcmyk(78.5%, 0%, 32.2%, 52.5%)
CIE-LABlab(44.95, -36.62, 13.90)
CIE-LCHlch(44.95, 39.17, 159.22°)
OKLaboklab(51.27% -0.0997 0.0352)
OKLCHoklch(51.27% 0.106 160.5)
XYZxyz(8.7854, 14.5025, 10.3172)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7952 #791A41
analogous
#1A7922 #1A7952 #1A7179
triadic
#1A7952 #521A79 #79521A
tetradic
#1A7952 #221A79 #791A41 #71791A
square
#1A7952 #221A79 #791A41 #71791A
split-complementary
#1A7952 #791A71 #79221A
monochromatic
#051911 #0F4730 #1A7952 #25AB74 #39D495

Accessibility & contrast

On white

5.38
#1A7952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1A7952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7952
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7952#FFFFFF#000000##FFFFFF
##1A79521.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7952;
/* rgb */ color: rgb(26, 121, 82);
/* oklch */ color: oklch(51.3% 0.106 160.5);
Tailwind
colors: {
  custom: {
    50: '#67a082',
    500: '#1a7952',
    950: '#000000',
  },
}
SCSS
$custom: #1a7952;
$custom-light: #67a082;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7952",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 155.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.10572,
    "h": 160.5
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#1A7952
secondary
#AD416E
accent
#4085E8
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1A7952

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

Preview Lab → · Contrast checker → · Palette generator →

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