#1B7C4E#1B7C4E

#1B7C4E is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.113 H 157.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1B7C4E
RGBrgb(27, 124, 78)
HSLhsl(152, 64%, 30%)
HSVhsv(152, 78%, 49%)
CMYKcmyk(78.2%, 0%, 37.1%, 51.4%)
CIE-LABlab(45.90, -38.64, 17.52)
CIE-LCHlch(45.90, 42.43, 155.61°)
OKLaboklab(52.04% -0.1045 0.044)
OKLCHoklch(52.04% 0.113 157.2)
XYZxyz(9.0339, 15.1973, 9.6635)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C4E #7C1B49
analogous
#1B7C1D #1B7C4E #1B7A7C
triadic
#1B7C4E #4E1B7C #7C4E1B
tetradic
#1B7C4E #1D1B7C #7C1B49 #7A7C1B
square
#1B7C4E #1D1B7C #7C1B49 #7A7C1B
split-complementary
#1B7C4E #7C1B7A #7C1D1B
monochromatic
#051910 #104A2E #1B7C4E #26AE6E #3DD58D

Accessibility & contrast

On white

5.20
#1B7C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1B7C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C4E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C4E#FFFFFF#000000##FFFFFF
##1B7C4E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7c4e;
/* rgb */ color: rgb(27, 124, 78);
/* oklch */ color: oklch(52.0% 0.113 157.2);
Tailwind
colors: {
  custom: {
    50: '#68a380',
    500: '#1b7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c4e;
$custom-light: #68a380;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c4e",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 151.546,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.11342,
    "h": 157.2
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#1B7C4E
secondary
#B04377
accent
#4190E7
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1B7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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