#186F40#186F40

#186F40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.110 H 154.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#186F40
RGBrgb(24, 111, 64)
HSLhsl(148, 64%, 26%)
HSVhsv(148, 78%, 44%)
CMYKcmyk(78.4%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.11, -36.71, 19.17)
CIE-LCHlch(41.11, 41.42, 152.43°)
OKLaboklab(47.98% -0.0989 0.0477)
OKLCHoklch(47.98% 0.11 154.3)
XYZxyz(6.9859, 11.9324, 6.7845)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F40 #6F1847
analogous
#1C6F18 #186F40 #186F6C
triadic
#186F40 #40186F #6F4018
tetradic
#186F40 #181C6F #6F1847 #6F6C18
square
#186F40 #181C6F #6F1847 #6F6C18
split-complementary
#186F40 #6C186F #6F181C
monochromatic
#05190F #0D3D23 #186F40 #23A15D #2FD27A

Accessibility & contrast

On white

6.20
#186F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F40
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F40#FFFFFF#000000##FFFFFF
##186F401.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186f40;
/* rgb */ color: rgb(24, 111, 64);
/* oklch */ color: oklch(48.0% 0.110 154.3);
Tailwind
colors: {
  custom: {
    50: '#649975',
    500: '#186f40',
    950: '#000000',
  },
}
SCSS
$custom: #186f40;
$custom-light: #649975;
$custom-dark: #000000;
JSON
{
  "hex": "#186f40",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 147.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4798,
    "c": 0.10985,
    "h": 154.3
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#186F40
secondary
#A53E76
accent
#409BE7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #186F40

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

Preview Lab → · Contrast checker → · Palette generator →

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