#1B7956#1B7956

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

Color values

HEX#1B7956
RGBrgb(27, 121, 86)
HSLhsl(158, 64%, 29%)
HSVhsv(158, 78%, 47%)
CMYKcmyk(77.7%, 0%, 28.9%, 52.5%)
CIE-LABlab(45.05, -35.53, 11.71)
CIE-LCHlch(45.05, 37.41, 161.76°)
OKLaboklab(51.39% -0.0972 0.0298)
OKLCHoklch(51.39% 0.102 163)
XYZxyz(8.9681, 14.5786, 11.1436)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7956 #791B3E
analogous
#1B7927 #1B7956 #1B6D79
triadic
#1B7956 #561B79 #79561B
tetradic
#1B7956 #271B79 #791B3E #6D791B
square
#1B7956 #271B79 #791B3E #6D791B
split-complementary
#1B7956 #791B6D #79271B
monochromatic
#061912 #104732 #1B7956 #26AB7A #3BD39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7956#FFFFFF#000000##FFFFFF
##1B79561.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)
#777054
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7956;
/* rgb */ color: rgb(27, 121, 86);
/* oklch */ color: oklch(51.4% 0.102 163.0);
Tailwind
colors: {
  custom: {
    50: '#67a085',
    500: '#1b7956',
    950: '#000000',
  },
}
SCSS
$custom: #1b7956;
$custom-light: #67a085;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7956",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 157.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.10171,
    "h": 163
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#1B7956
secondary
#AD436A
accent
#417FE7
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1B7956

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

Preview Lab → · Contrast checker → · Palette generator →

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