#1B7958#1B7958

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

Color values

HEX#1B7958
RGBrgb(27, 121, 88)
HSLhsl(159, 64%, 29%)
HSVhsv(159, 78%, 47%)
CMYKcmyk(77.7%, 0%, 27.3%, 52.5%)
CIE-LABlab(45.10, -35.03, 10.60)
CIE-LCHlch(45.10, 36.60, 163.17°)
OKLaboklab(51.44% -0.0962 0.027)
OKLCHoklch(51.44% 0.1 164.3)
XYZxyz(9.0498, 14.6113, 11.5739)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7958 #791B3C
analogous
#1B7929 #1B7958 #1B6B79
triadic
#1B7958 #581B79 #79581B
tetradic
#1B7958 #291B79 #791B3C #6B791B
square
#1B7958 #291B79 #791B3C #6B791B
split-complementary
#1B7958 #791B6B #79291B
monochromatic
#061912 #104734 #1B7958 #26AB7C #3BD39E

Accessibility & contrast

On white

5.35
#1B7958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7958
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7958#FFFFFF#000000##FFFFFF
##1B79581.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.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: #1b7958;
/* rgb */ color: rgb(27, 121, 88);
/* oklch */ color: oklch(51.4% 0.100 164.3);
Tailwind
colors: {
  custom: {
    50: '#67a087',
    500: '#1b7958',
    950: '#000000',
  },
}
SCSS
$custom: #1b7958;
$custom-light: #67a087;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7958",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 88
  },
  "hsl": {
    "h": 158.936,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.09994,
    "h": 164.3
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#1B7958
secondary
#AD4368
accent
#417BE7
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B7958

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

Preview Lab → · Contrast checker → · Palette generator →

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