#155240#155240

#155240 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.069 H 169.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#155240
RGBrgb(21, 82, 64)
HSLhsl(162, 59%, 20%)
HSVhsv(162, 74%, 32%)
CMYKcmyk(74.4%, 0%, 22%, 67.8%)
CIE-LABlab(30.79, -24.20, 5.03)
CIE-LCHlch(30.79, 24.72, 168.27°)
OKLaboklab(39.48% -0.0675 0.0129)
OKLCHoklch(39.48% 0.069 169.2)
XYZxyz(4.2515, 6.5637, 5.8924)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155240 #521527
analogous
#155221 #155240 #154552
triadic
#155240 #401552 #524015
tetradic
#155240 #211552 #521527 #455215
square
#155240 #211552 #521527 #455215
split-complementary
#155240 #521545 #522115
monochromatic
#061813 #09211A #155240 #218366 #2EB38C

Accessibility & contrast

On white

9.08
#155240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#155240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155240
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155240#FFFFFF#000000##FFFFFF
##1552401.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3F
Deuteranopia (green-blind)
#474641
Tritanopia (blue-blind)
#00534D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #155240;
/* rgb */ color: rgb(21, 82, 64);
/* oklch */ color: oklch(39.5% 0.069 169.2);
Tailwind
colors: {
  custom: {
    50: '#5c8374',
    500: '#155240',
    950: '#000000',
  },
}
SCSS
$custom: #155240;
$custom-light: #5c8374;
$custom-dark: #000000;
JSON
{
  "hex": "#155240",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 162.295,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.06874,
    "h": 169.2
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#155240
secondary
#8A3951
accent
#4574E2
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #155240

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

Preview Lab → · Contrast checker → · Palette generator →

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