#185945#185945

#185945 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.073 H 168.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#185945
RGBrgb(24, 89, 69)
HSLhsl(162, 58%, 22%)
HSVhsv(162, 73%, 35%)
CMYKcmyk(73%, 0%, 22.5%, 65.1%)
CIE-LABlab(33.50, -25.71, 5.74)
CIE-LCHlch(33.50, 26.34, 167.42°)
OKLaboklab(41.76% -0.0716 0.0147)
OKLCHoklch(41.76% 0.073 168.4)
XYZxyz(5.0227, 7.7681, 6.8637)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185945 #59182C
analogous
#185924 #185945 #184D59
triadic
#185945 #451859 #594518
tetradic
#185945 #241859 #59182C #4D5918
square
#185945 #241859 #59182C #4D5918
split-complementary
#185945 #59184D #592418
monochromatic
#061813 #0B2920 #185945 #25896A #32B990

Accessibility & contrast

On white

8.22
#185945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#185945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185945
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185945#FFFFFF#000000##FFFFFF
##1859451.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575344
Deuteranopia (green-blind)
#4E4C46
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185945;
/* rgb */ color: rgb(24, 89, 69);
/* oklch */ color: oklch(41.8% 0.073 168.4);
Tailwind
colors: {
  custom: {
    50: '#5f8878',
    500: '#185945',
    950: '#000000',
  },
}
SCSS
$custom: #185945;
$custom-light: #5f8878;
$custom-dark: #000000;
JSON
{
  "hex": "#185945",
  "rgb": {
    "r": 24,
    "g": 89,
    "b": 69
  },
  "hsl": {
    "h": 161.538,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.07307,
    "h": 168.4
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#185945
secondary
#903D57
accent
#4776E1
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #185945

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

Preview Lab → · Contrast checker → · Palette generator →

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