#255342#255342

#255342 is a dark, muted teal. Relative luminance 0.070; OKLCH L 40.4% C 0.059 H 166.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#255342
RGBrgb(37, 83, 66)
HSLhsl(158, 38%, 24%)
HSVhsv(158, 55%, 33%)
CMYKcmyk(55.4%, 0%, 20.5%, 67.5%)
CIE-LABlab(31.74, -20.48, 5.19)
CIE-LCHlch(31.74, 21.13, 165.77°)
OKLaboklab(40.43% -0.0573 0.0133)
OKLCHoklch(40.43% 0.059 166.9)
XYZxyz(4.8391, 6.9728, 6.2441)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255342 #532536
analogous
#25532B #255342 #254D53
triadic
#255342 #422553 #534225
tetradic
#255342 #2B2553 #532536 #4D5325
square
#255342 #2B2553 #532536 #4D5325
split-complementary
#255342 #53254D #532B25
monochromatic
#091511 #122920 #255342 #387D64 #4BA885

Accessibility & contrast

On white

8.77
#255342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#255342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255342
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255342#FFFFFF#000000##FFFFFF
##2553421.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#4A4943
Tritanopia (blue-blind)
#14534E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #255342;
/* rgb */ color: rgb(37, 83, 66);
/* oklch */ color: oklch(40.4% 0.059 166.9);
Tailwind
colors: {
  custom: {
    50: '#638376',
    500: '#255342',
    950: '#000000',
  },
}
SCSS
$custom: #255342;
$custom-light: #638376;
$custom-dark: #000000;
JSON
{
  "hex": "#255342",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 157.826,
    "s": 38.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.40427,
    "c": 0.0588,
    "h": 166.9
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#255342
secondary
#864D62
accent
#5A85CE
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#050A08
muted
#7A7C7B

Preview Lab

Preview with #255342

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

Preview Lab → · Contrast checker → · Palette generator →

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