#255140#255140

#255140 is a dark, muted teal. Relative luminance 0.066; OKLCH L 39.8% C 0.057 H 166.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#255140
RGBrgb(37, 81, 64)
HSLhsl(157, 37%, 23%)
HSVhsv(157, 54%, 32%)
CMYKcmyk(54.3%, 0%, 21%, 68.2%)
CIE-LABlab(30.99, -19.94, 5.39)
CIE-LCHlch(30.99, 20.65, 164.88°)
OKLaboklab(39.8% -0.0557 0.0138)
OKLCHoklch(39.8% 0.057 166.1)
XYZxyz(4.6304, 6.6480, 5.8887)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255140 #512536
analogous
#25512A #255140 #254C51
triadic
#255140 #402551 #514025
tetradic
#255140 #2A2551 #512536 #4C5125
square
#255140 #2A2551 #512536 #4C5125
split-complementary
#255140 #51254C #512A25
monochromatic
#0A1511 #12271F #255140 #387B61 #4BA582

Accessibility & contrast

On white

9.01
#255140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#255140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255140
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255140#FFFFFF#000000##FFFFFF
##2551401.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C3F
Deuteranopia (green-blind)
#494741
Tritanopia (blue-blind)
#15514C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255140;
/* rgb */ color: rgb(37, 81, 64);
/* oklch */ color: oklch(39.8% 0.057 166.1);
Tailwind
colors: {
  custom: {
    50: '#638274',
    500: '#255140',
    950: '#000000',
  },
}
SCSS
$custom: #255140;
$custom-light: #638274;
$custom-dark: #000000;
JSON
{
  "hex": "#255140",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 64
  },
  "hsl": {
    "h": 156.818,
    "s": 37.288,
    "l": 23.137
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.05736,
    "h": 166.1
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#255140
secondary
#844E63
accent
#5B87CD
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#050A08
muted
#7A7C7B

Preview Lab

Preview with #255140

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

Preview Lab → · Contrast checker → · Palette generator →

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