#186D42#186D42

#186D42 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.4% C 0.105 H 155.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#186D42
RGBrgb(24, 109, 66)
HSLhsl(150, 64%, 26%)
HSVhsv(150, 78%, 43%)
CMYKcmyk(78%, 0%, 39.4%, 57.3%)
CIE-LABlab(40.45, -35.46, 17.14)
CIE-LCHlch(40.45, 39.39, 154.21°)
OKLaboklab(47.45% -0.0958 0.0429)
OKLCHoklch(47.45% 0.105 155.9)
XYZxyz(6.8280, 11.5240, 7.0177)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D42 #6D1843
analogous
#186D18 #186D42 #186D6C
triadic
#186D42 #42186D #6D4218
tetradic
#186D42 #18186D #6D1843 #6D6C18
square
#186D42 #18186D #6D1843 #6D6C18
split-complementary
#186D42 #6C186D #6D1818
monochromatic
#06190F #0D3B24 #186D42 #239F60 #2ED17F

Accessibility & contrast

On white

6.35
#186D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#186D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D42
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D42#FFFFFF#000000##FFFFFF
##186D421.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C643F
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#006C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186d42;
/* rgb */ color: rgb(24, 109, 66);
/* oklch */ color: oklch(47.4% 0.105 155.9);
Tailwind
colors: {
  custom: {
    50: '#639876',
    500: '#186d42',
    950: '#000000',
  },
}
SCSS
$custom: #186d42;
$custom-light: #639876;
$custom-dark: #000000;
JSON
{
  "hex": "#186d42",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 66
  },
  "hsl": {
    "h": 149.647,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.10496,
    "h": 155.9
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#186D42
secondary
#A33E71
accent
#4195E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #186D42

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

Preview Lab → · Contrast checker → · Palette generator →

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