#1B7957#1B7957

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

Color values

HEX#1B7957
RGBrgb(27, 121, 87)
HSLhsl(158, 64%, 29%)
HSVhsv(158, 78%, 47%)
CMYKcmyk(77.7%, 0%, 28.1%, 52.5%)
CIE-LABlab(45.07, -35.28, 11.15)
CIE-LCHlch(45.07, 37.00, 162.46°)
OKLaboklab(51.42% -0.0967 0.0284)
OKLCHoklch(51.42% 0.101 163.6)
XYZxyz(9.0087, 14.5948, 11.3573)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7957 #791B3D
analogous
#1B7928 #1B7957 #1B6C79
triadic
#1B7957 #571B79 #79571B
tetradic
#1B7957 #281B79 #791B3D #6C791B
square
#1B7957 #281B79 #791B3D #6C791B
split-complementary
#1B7957 #791B6C #79281B
monochromatic
#061912 #104733 #1B7957 #26AB7B #3BD39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7957#FFFFFF#000000##FFFFFF
##1B79571.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)
#777055
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7957;
/* rgb */ color: rgb(27, 121, 87);
/* oklch */ color: oklch(51.4% 0.101 163.6);
Tailwind
colors: {
  custom: {
    50: '#67a086',
    500: '#1b7957',
    950: '#000000',
  },
}
SCSS
$custom: #1b7957;
$custom-light: #67a086;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7957",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 87
  },
  "hsl": {
    "h": 158.298,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.10081,
    "h": 163.6
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#1B7957
secondary
#AD4369
accent
#417DE7
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B7957

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

Preview Lab → · Contrast checker → · Palette generator →

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