#185A45#185A45

#185A45 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.074 H 167.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#185A45
RGBrgb(24, 90, 69)
HSLhsl(161, 58%, 22%)
HSVhsv(161, 73%, 35%)
CMYKcmyk(73.3%, 0%, 23.3%, 64.7%)
CIE-LABlab(33.85, -26.20, 6.24)
CIE-LCHlch(33.85, 26.93, 166.60°)
OKLaboklab(42.05% -0.0728 0.016)
OKLCHoklch(42.05% 0.074 167.6)
XYZxyz(5.1065, 7.9356, 6.8917)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A45 #5A182D
analogous
#185A24 #185A45 #184E5A
triadic
#185A45 #45185A #5A4518
tetradic
#185A45 #24185A #5A182D #4E5A18
square
#185A45 #24185A #5A182D #4E5A18
split-complementary
#185A45 #5A184E #5A2418
monochromatic
#061813 #0B2A20 #185A45 #258A6A #32BB8F

Accessibility & contrast

On white

8.12
#185A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#185A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A45
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A45#FFFFFF#000000##FFFFFF
##185A451.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585344
Deuteranopia (green-blind)
#4F4D46
Tritanopia (blue-blind)
#005A54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185a45;
/* rgb */ color: rgb(24, 90, 69);
/* oklch */ color: oklch(42.0% 0.074 167.6);
Tailwind
colors: {
  custom: {
    50: '#5f8978',
    500: '#185a45',
    950: '#000000',
  },
}
SCSS
$custom: #185a45;
$custom-light: #5f8978;
$custom-dark: #000000;
JSON
{
  "hex": "#185a45",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 69
  },
  "hsl": {
    "h": 160.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.07449,
    "h": 167.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#185A45
secondary
#913D58
accent
#4778E1
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #185A45

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

Preview Lab → · Contrast checker → · Palette generator →

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