#186540#186540

#186540 is a mid, moderate teal. Relative luminance 0.099; OKLCH L 45.1% C 0.095 H 157.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#186540
RGBrgb(24, 101, 64)
HSLhsl(151, 62%, 25%)
HSVhsv(151, 76%, 40%)
CMYKcmyk(76.2%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.61, -32.49, 14.50)
CIE-LCHlch(37.61, 35.58, 155.94°)
OKLaboklab(45.1% -0.088 0.0365)
OKLCHoklch(45.1% 0.095 157.5)
XYZxyz(5.9552, 9.8710, 6.4409)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186540 #65183D
analogous
#18651A #186540 #186465
triadic
#186540 #401865 #654018
tetradic
#186540 #1A1865 #65183D #646518
square
#186540 #1A1865 #65183D #646518
split-complementary
#186540 #651864 #651A18
monochromatic
#061910 #0C3421 #186540 #24965F #30C87F

Accessibility & contrast

On white

7.06
#186540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#186540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186540
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186540#FFFFFF#000000##FFFFFF
##1865401.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #186540;
/* rgb */ color: rgb(24, 101, 64);
/* oklch */ color: oklch(45.1% 0.095 157.5);
Tailwind
colors: {
  custom: {
    50: '#619275',
    500: '#186540',
    950: '#000000',
  },
}
SCSS
$custom: #186540;
$custom-light: #619275;
$custom-dark: #000000;
JSON
{
  "hex": "#186540",
  "rgb": {
    "r": 24,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 151.169,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.09532,
    "h": 157.5
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#186540
secondary
#9B3E6B
accent
#4391E5
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186540

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

Preview Lab → · Contrast checker → · Palette generator →

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