#1A7958#1A7958

#1A7958 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.100 H 164.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1A7958
RGBrgb(26, 121, 88)
HSLhsl(159, 65%, 29%)
HSVhsv(159, 79%, 47%)
CMYKcmyk(78.5%, 0%, 27.3%, 52.5%)
CIE-LABlab(45.08, -35.17, 10.57)
CIE-LCHlch(45.08, 36.73, 163.27°)
OKLaboklab(51.42% -0.0966 0.027)
OKLCHoklch(51.42% 0.1 164.4)
XYZxyz(9.0238, 14.5979, 11.5727)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7958 #791A3B
analogous
#1A7929 #1A7958 #1A6B79
triadic
#1A7958 #581A79 #79581A
tetradic
#1A7958 #291A79 #791A3B #6B791A
square
#1A7958 #291A79 #791A3B #6B791A
split-complementary
#1A7958 #791A6B #79291A
monochromatic
#051912 #0F4733 #1A7958 #25AB7D #39D49E

Accessibility & contrast

On white

5.36
#1A7958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1A7958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7958
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7958#FFFFFF#000000##FFFFFF
##1A79581.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777056
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7958;
/* rgb */ color: rgb(26, 121, 88);
/* oklch */ color: oklch(51.4% 0.100 164.4);
Tailwind
colors: {
  custom: {
    50: '#67a087',
    500: '#1a7958',
    950: '#000000',
  },
}
SCSS
$custom: #1a7958;
$custom-light: #67a087;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7958",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 88
  },
  "hsl": {
    "h": 159.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.10028,
    "h": 164.4
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#1A7958
secondary
#AD4167
accent
#407AE8
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1A7958

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

Preview Lab → · Contrast checker → · Palette generator →

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