#157C5C#157C5C

#157C5C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.102 H 166.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#157C5C
RGBrgb(21, 124, 92)
HSLhsl(161, 71%, 28%)
HSVhsv(161, 83%, 49%)
CMYKcmyk(83.1%, 0%, 25.8%, 51.4%)
CIE-LABlab(46.10, -36.08, 9.65)
CIE-LCHlch(46.10, 37.35, 165.03°)
OKLaboklab(52.28% -0.0994 0.0246)
OKLCHoklch(52.28% 0.102 166.1)
XYZxyz(9.4476, 15.3463, 12.5873)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C5C #7C1535
analogous
#157C28 #157C5C #15687C
triadic
#157C5C #5C157C #7C5C15
tetradic
#157C5C #28157C #7C1535 #687C15
square
#157C5C #28157C #7C1535 #687C15
split-complementary
#157C5C #7C1568 #7C2815
monochromatic
#041A13 #0C4835 #157C5C #1EB083 #30DCA6

Accessibility & contrast

On white

5.16
#157C5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#157C5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C5C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C5C#FFFFFF#000000##FFFFFF
##157C5C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735A
Deuteranopia (green-blind)
#6D6A5E
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157c5c;
/* rgb */ color: rgb(21, 124, 92);
/* oklch */ color: oklch(52.3% 0.102 166.1);
Tailwind
colors: {
  custom: {
    50: '#66a38a',
    500: '#157c5c',
    950: '#000000',
  },
}
SCSS
$custom: #157c5c;
$custom-light: #66a38a;
$custom-dark: #000000;
JSON
{
  "hex": "#157c5c",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 92
  },
  "hsl": {
    "h": 161.359,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.10238,
    "h": 166.1
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#157C5C
secondary
#B13C60
accent
#3A72EE
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #157C5C

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

Preview Lab → · Contrast checker → · Palette generator →

#157C5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva