#1B7952#1B7952

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

Color values

HEX#1B7952
RGBrgb(27, 121, 82)
HSLhsl(155, 64%, 29%)
HSVhsv(155, 78%, 47%)
CMYKcmyk(77.7%, 0%, 32.2%, 52.5%)
CIE-LABlab(44.96, -36.48, 13.93)
CIE-LCHlch(44.96, 39.05, 159.11°)
OKLaboklab(51.29% -0.0993 0.0353)
OKLCHoklch(51.29% 0.105 160.4)
XYZxyz(8.8114, 14.5159, 10.3185)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7952 #791B42
analogous
#1B7923 #1B7952 #1B7179
triadic
#1B7952 #521B79 #79521B
tetradic
#1B7952 #231B79 #791B42 #71791B
square
#1B7952 #231B79 #791B42 #71791B
split-complementary
#1B7952 #791B71 #79231B
monochromatic
#061911 #104730 #1B7952 #26AB74 #3BD394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7952#FFFFFF#000000##FFFFFF
##1B79521.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: #1b7952;
/* rgb */ color: rgb(27, 121, 82);
/* oklch */ color: oklch(51.3% 0.105 160.4);
Tailwind
colors: {
  custom: {
    50: '#67a082',
    500: '#1b7952',
    950: '#000000',
  },
}
SCSS
$custom: #1b7952;
$custom-light: #67a082;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7952",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 82
  },
  "hsl": {
    "h": 155.106,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.10539,
    "h": 160.4
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#1B7952
secondary
#AD436F
accent
#4186E7
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1B7952

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

Preview Lab → · Contrast checker → · Palette generator →

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