#186840#186840

#186840 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 46.0% C 0.100 H 156.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#186840
RGBrgb(24, 104, 64)
HSLhsl(150, 63%, 25%)
HSVhsv(150, 77%, 41%)
CMYKcmyk(76.9%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.66, -33.78, 15.92)
CIE-LCHlch(38.66, 37.35, 154.77°)
OKLaboklab(45.96% -0.0914 0.04)
OKLCHoklch(45.96% 0.1 156.4)
XYZxyz(6.2518, 10.4643, 6.5398)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186840 #681840
analogous
#186818 #186840 #186868
triadic
#186840 #401868 #684018
tetradic
#186840 #181868 #681840 #686818
square
#186840 #181868 #681840 #686818
split-complementary
#186840 #681868 #681818
monochromatic
#06190F #0D3621 #186840 #239A5F #2FCB7D

Accessibility & contrast

On white

6.79
#186840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#186840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186840
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186840#FFFFFF#000000##FFFFFF
##1868401.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5E5843
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186840;
/* rgb */ color: rgb(24, 104, 64);
/* oklch */ color: oklch(46.0% 0.100 156.4);
Tailwind
colors: {
  custom: {
    50: '#629475',
    500: '#186840',
    950: '#000000',
  },
}
SCSS
$custom: #186840;
$custom-light: #629475;
$custom-dark: #000000;
JSON
{
  "hex": "#186840",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 150,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.09972,
    "h": 156.4
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#186840
secondary
#9E3E6E
accent
#4294E6
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186840

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

Preview Lab → · Contrast checker → · Palette generator →

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