#157251#157251

#157251 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.2% C 0.099 H 163.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#157251
RGBrgb(21, 114, 81)
HSLhsl(159, 69%, 26%)
HSVhsv(159, 82%, 45%)
CMYKcmyk(81.6%, 0%, 28.9%, 55.3%)
CIE-LABlab(42.44, -34.52, 11.01)
CIE-LCHlch(42.44, 36.23, 162.31°)
OKLaboklab(49.18% -0.0945 0.028)
OKLCHoklch(49.18% 0.099 163.5)
XYZxyz(7.8109, 12.7872, 9.8395)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157251 #721536
analogous
#157223 #157251 #156572
triadic
#157251 #511572 #725115
tetradic
#157251 #231572 #721536 #657215
square
#157251 #231572 #721536 #657215
split-complementary
#157251 #721565 #722315
monochromatic
#051A12 #0B3E2C #157251 #1FA676 #2AD89A

Accessibility & contrast

On white

5.90
#157251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#157251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157251
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157251#FFFFFF#000000##FFFFFF
##1572511.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157251;
/* rgb */ color: rgb(21, 114, 81);
/* oklch */ color: oklch(49.2% 0.099 163.5);
Tailwind
colors: {
  custom: {
    50: '#649b82',
    500: '#157251',
    950: '#000000',
  },
}
SCSS
$custom: #157251;
$custom-light: #649b82;
$custom-dark: #000000;
JSON
{
  "hex": "#157251",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 158.71,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.09856,
    "h": 163.5
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#157251
secondary
#A83B62
accent
#3C7AEC
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #157251

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

Preview Lab → · Contrast checker → · Palette generator →

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