#185F40#185F40

#185F40 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.4% C 0.086 H 160.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#185F40
RGBrgb(24, 95, 64)
HSLhsl(154, 60%, 23%)
HSVhsv(154, 75%, 37%)
CMYKcmyk(74.7%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.49, -29.82, 11.62)
CIE-LCHlch(35.49, 32.00, 158.71°)
OKLaboklab(43.36% -0.0813 0.0295)
OKLCHoklch(43.36% 0.086 160.1)
XYZxyz(5.3938, 8.7482, 6.2538)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F40 #5F1837
analogous
#185F1C #185F40 #185A5F
triadic
#185F40 #40185F #5F4018
tetradic
#185F40 #1C185F #5F1837 #5A5F18
square
#185F40 #1C185F #5F1837 #5A5F18
split-complementary
#185F40 #5F185A #5F1C18
monochromatic
#061810 #0C2E1F #185F40 #249061 #31C182

Accessibility & contrast

On white

7.64
#185F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#185F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F40
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F40#FFFFFF#000000##FFFFFF
##185F401.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185f40;
/* rgb */ color: rgb(24, 95, 64);
/* oklch */ color: oklch(43.4% 0.086 160.1);
Tailwind
colors: {
  custom: {
    50: '#608d75',
    500: '#185f40',
    950: '#000000',
  },
}
SCSS
$custom: #185f40;
$custom-light: #608d75;
$custom-dark: #000000;
JSON
{
  "hex": "#185f40",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 153.803,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.08644,
    "h": 160.1
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#185F40
secondary
#953D64
accent
#458AE3
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #185F40

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

Preview Lab → · Contrast checker → · Palette generator →

#185F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva