#157254#157254

#157254 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.3% C 0.096 H 165.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#157254
RGBrgb(21, 114, 84)
HSLhsl(161, 69%, 26%)
HSVhsv(161, 82%, 45%)
CMYKcmyk(81.6%, 0%, 26.3%, 55.3%)
CIE-LABlab(42.51, -33.76, 9.33)
CIE-LCHlch(42.51, 35.02, 164.56°)
OKLaboklab(49.26% -0.0929 0.0238)
OKLCHoklch(49.26% 0.096 165.6)
XYZxyz(7.9259, 12.8332, 10.4451)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157254 #721533
analogous
#157226 #157254 #156272
triadic
#157254 #541572 #725415
tetradic
#157254 #261572 #721533 #627215
square
#157254 #261572 #721533 #627215
split-complementary
#157254 #721562 #722615
monochromatic
#051A13 #0B3E2E #157254 #1FA67A #2AD8A0

Accessibility & contrast

On white

5.89
#157254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#157254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157254
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157254#FFFFFF#000000##FFFFFF
##1572541.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#646156
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157254;
/* rgb */ color: rgb(21, 114, 84);
/* oklch */ color: oklch(49.3% 0.096 165.6);
Tailwind
colors: {
  custom: {
    50: '#649b84',
    500: '#157254',
    950: '#000000',
  },
}
SCSS
$custom: #157254;
$custom-light: #649b84;
$custom-dark: #000000;
JSON
{
  "hex": "#157254",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 84
  },
  "hsl": {
    "h": 160.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.09592,
    "h": 165.6
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#157254
secondary
#A83B5E
accent
#3C75EC
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #157254

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

Preview Lab → · Contrast checker → · Palette generator →

#157254 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva