#157852#157852

#157852 is a mid, moderate teal. Relative luminance 0.142; OKLCH L 50.9% C 0.106 H 161.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#157852
RGBrgb(21, 120, 82)
HSLhsl(157, 70%, 28%)
HSVhsv(157, 83%, 47%)
CMYKcmyk(82.5%, 0%, 31.7%, 52.9%)
CIE-LABlab(44.52, -36.84, 13.30)
CIE-LCHlch(44.52, 39.17, 160.15°)
OKLaboklab(50.9% -0.1003 0.0338)
OKLCHoklch(50.9% 0.106 161.4)
XYZxyz(8.5478, 14.2005, 10.2715)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157852 #78153B
analogous
#157821 #157852 #156C78
triadic
#157852 #521578 #785215
tetradic
#157852 #211578 #78153B #6C7815
square
#157852 #211578 #78153B #6C7815
split-complementary
#157852 #78156C #782115
monochromatic
#051A12 #0C442E #157852 #1EAC76 #2DDA98

Accessibility & contrast

On white

5.47
#157852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#157852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157852
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157852#FFFFFF#000000##FFFFFF
##1578521.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157852;
/* rgb */ color: rgb(21, 120, 82);
/* oklch */ color: oklch(50.9% 0.106 161.4);
Tailwind
colors: {
  custom: {
    50: '#65a082',
    500: '#157852',
    950: '#000000',
  },
}
SCSS
$custom: #157852;
$custom-light: #65a082;
$custom-dark: #000000;
JSON
{
  "hex": "#157852",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 156.97,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.10586,
    "h": 161.4
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#157852
secondary
#AE3B67
accent
#3B7FED
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #157852

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

Preview Lab → · Contrast checker → · Palette generator →

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