#255240#255240

#255240 is a dark, muted teal. Relative luminance 0.068; OKLCH L 40.1% C 0.059 H 165.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#255240
RGBrgb(37, 82, 64)
HSLhsl(156, 38%, 23%)
HSVhsv(156, 55%, 32%)
CMYKcmyk(54.9%, 0%, 22%, 67.8%)
CIE-LABlab(31.34, -20.47, 5.88)
CIE-LCHlch(31.34, 21.30, 163.96°)
OKLaboklab(40.08% -0.057 0.0151)
OKLCHoklch(40.08% 0.059 165.2)
XYZxyz(4.7052, 6.7977, 5.9136)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255240 #522537
analogous
#255229 #255240 #254D52
triadic
#255240 #402552 #524025
tetradic
#255240 #292552 #522537 #4D5225
square
#255240 #292552 #522537 #4D5225
split-complementary
#255240 #52254D #522925
monochromatic
#0A1510 #12281F #255240 #387C61 #4BA682

Accessibility & contrast

On white

8.90
#255240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#255240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255240
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255240#FFFFFF#000000##FFFFFF
##2552401.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D3F
Deuteranopia (green-blind)
#4A4841
Tritanopia (blue-blind)
#15524D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #255240;
/* rgb */ color: rgb(37, 82, 64);
/* oklch */ color: oklch(40.1% 0.059 165.2);
Tailwind
colors: {
  custom: {
    50: '#638374',
    500: '#255240',
    950: '#000000',
  },
}
SCSS
$custom: #255240;
$custom-light: #638374;
$custom-dark: #000000;
JSON
{
  "hex": "#255240",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 156,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.05898,
    "h": 165.2
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#255240
secondary
#854D64
accent
#5A88CE
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#050A08
muted
#7A7C7B

Preview Lab

Preview with #255240

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

Preview Lab → · Contrast checker → · Palette generator →

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