#157B4F#157B4F

#157B4F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.113 H 158.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157B4F
RGBrgb(21, 123, 79)
HSLhsl(154, 71%, 28%)
HSVhsv(154, 83%, 48%)
CMYKcmyk(82.9%, 0%, 35.8%, 51.8%)
CIE-LABlab(45.48, -38.79, 16.36)
CIE-LCHlch(45.48, 42.10, 157.14°)
OKLaboklab(51.67% -0.105 0.0412)
OKLCHoklch(51.67% 0.113 158.6)
XYZxyz(8.8026, 14.8888, 9.8055)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B4F #7B1541
analogous
#157B1C #157B4F #15747B
triadic
#157B4F #4F157B #7B4F15
tetradic
#157B4F #1C157B #7B1541 #747B15
square
#157B4F #1C157B #7B1541 #747B15
split-complementary
#157B4F #7B1574 #7B1C15
monochromatic
#041A11 #0C472D #157B4F #1EAF71 #2FDB91

Accessibility & contrast

On white

5.28
#157B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B4F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B4F#FFFFFF#000000##FFFFFF
##157B4F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157b4f;
/* rgb */ color: rgb(21, 123, 79);
/* oklch */ color: oklch(51.7% 0.113 158.6);
Tailwind
colors: {
  custom: {
    50: '#66a280',
    500: '#157b4f',
    950: '#000000',
  },
}
SCSS
$custom: #157b4f;
$custom-light: #66a280;
$custom-dark: #000000;
JSON
{
  "hex": "#157b4f",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 154.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.11282,
    "h": 158.6
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#157B4F
secondary
#B03B6E
accent
#3A88EE
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #157B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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