#155238#155238

#155238 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.2% C 0.076 H 160.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#155238
RGBrgb(21, 82, 56)
HSLhsl(154, 59%, 20%)
HSVhsv(154, 74%, 32%)
CMYKcmyk(74.4%, 0%, 31.7%, 67.8%)
CIE-LABlab(30.59, -26.33, 9.78)
CIE-LCHlch(30.59, 28.08, 159.61°)
OKLaboklab(39.25% -0.0719 0.0249)
OKLCHoklch(39.25% 0.076 160.9)
XYZxyz(4.0400, 6.4791, 4.7783)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155238 #52152F
analogous
#155219 #155238 #154D52
triadic
#155238 #381552 #523815
tetradic
#155238 #191552 #52152F #4D5215
square
#155238 #191552 #52152F #4D5215
split-complementary
#155238 #52154D #521915
monochromatic
#061811 #092117 #155238 #218359 #2EB37B

Accessibility & contrast

On white

9.15
#155238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#155238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155238
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155238#FFFFFF#000000##FFFFFF
##1552381.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B36
Deuteranopia (green-blind)
#49463A
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #155238;
/* rgb */ color: rgb(21, 82, 56);
/* oklch */ color: oklch(39.2% 0.076 160.9);
Tailwind
colors: {
  custom: {
    50: '#5c836e',
    500: '#155238',
    950: '#000000',
  },
}
SCSS
$custom: #155238;
$custom-light: #5c836e;
$custom-dark: #000000;
JSON
{
  "hex": "#155238",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 154.426,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.0761,
    "h": 160.9
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#155238
secondary
#8A395B
accent
#4588E2
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #155238

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

Preview Lab → · Contrast checker → · Palette generator →

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