#1B7C52#1B7C52

#1B7C52 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.1% C 0.110 H 159.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1B7C52
RGBrgb(27, 124, 82)
HSLhsl(154, 64%, 30%)
HSVhsv(154, 78%, 49%)
CMYKcmyk(78.2%, 0%, 33.9%, 51.4%)
CIE-LABlab(45.98, -37.75, 15.32)
CIE-LCHlch(45.98, 40.74, 157.91°)
OKLaboklab(52.13% -0.1025 0.0387)
OKLCHoklch(52.13% 0.11 159.3)
XYZxyz(9.1817, 15.2564, 10.4419)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C52 #7C1B45
analogous
#1B7C22 #1B7C52 #1B757C
triadic
#1B7C52 #521B7C #7C521B
tetradic
#1B7C52 #221B7C #7C1B45 #757C1B
square
#1B7C52 #221B7C #7C1B45 #757C1B
split-complementary
#1B7C52 #7C1B75 #7C221B
monochromatic
#051911 #104A31 #1B7C52 #26AE73 #3DD593

Accessibility & contrast

On white

5.18
#1B7C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1B7C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C52
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C52#FFFFFF#000000##FFFFFF
##1B7C521.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7c52;
/* rgb */ color: rgb(27, 124, 82);
/* oklch */ color: oklch(52.1% 0.110 159.3);
Tailwind
colors: {
  custom: {
    50: '#68a382',
    500: '#1b7c52',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c52;
$custom-light: #68a382;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c52",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 154.021,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.10956,
    "h": 159.3
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#1B7C52
secondary
#B04372
accent
#4189E7
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1B7C52

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

Preview Lab → · Contrast checker → · Palette generator →

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