#186F42#186F42

#186F42 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.0% C 0.108 H 155.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#186F42
RGBrgb(24, 111, 66)
HSLhsl(149, 64%, 26%)
HSVhsv(149, 78%, 44%)
CMYKcmyk(78.4%, 0%, 40.5%, 56.5%)
CIE-LABlab(41.15, -36.30, 18.07)
CIE-LCHlch(41.15, 40.54, 153.54°)
OKLaboklab(48.02% -0.0979 0.0451)
OKLCHoklch(48.02% 0.108 155.3)
XYZxyz(7.0438, 11.9556, 7.0896)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F42 #6F1845
analogous
#196F18 #186F42 #186F6E
triadic
#186F42 #42186F #6F4218
tetradic
#186F42 #18196F #6F1845 #6F6E18
square
#186F42 #18196F #6F1845 #6F6E18
split-complementary
#186F42 #6E186F #6F1819
monochromatic
#05190F #0D3D24 #186F42 #23A160 #2FD27E

Accessibility & contrast

On white

6.19
#186F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#186F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F42
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F42#FFFFFF#000000##FFFFFF
##186F421.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186f42;
/* rgb */ color: rgb(24, 111, 66);
/* oklch */ color: oklch(48.0% 0.108 155.3);
Tailwind
colors: {
  custom: {
    50: '#649977',
    500: '#186f42',
    950: '#000000',
  },
}
SCSS
$custom: #186f42;
$custom-light: #649977;
$custom-dark: #000000;
JSON
{
  "hex": "#186f42",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 66
  },
  "hsl": {
    "h": 148.966,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.10783,
    "h": 155.3
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#186F42
secondary
#A53E73
accent
#4097E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #186F42

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

Preview Lab → · Contrast checker → · Palette generator →

#186F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva