#186D40#186D40

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

Color values

HEX#186D40
RGBrgb(24, 109, 64)
HSLhsl(148, 64%, 26%)
HSVhsv(148, 78%, 43%)
CMYKcmyk(78%, 0%, 41.3%, 57.3%)
CIE-LABlab(40.41, -35.89, 18.25)
CIE-LCHlch(40.41, 40.26, 153.04°)
OKLaboklab(47.41% -0.0968 0.0455)
OKLCHoklch(47.41% 0.107 154.8)
XYZxyz(6.7701, 11.5008, 6.7126)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D40 #6D1845
analogous
#1A6D18 #186D40 #186D6A
triadic
#186D40 #40186D #6D4018
tetradic
#186D40 #181A6D #6D1845 #6D6A18
square
#186D40 #181A6D #6D1845 #6D6A18
split-complementary
#186D40 #6A186D #6D181A
monochromatic
#06190F #0D3B23 #186D40 #239F5D #2ED17B

Accessibility & contrast

On white

6.36
#186D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#186D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D40
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D40#FFFFFF#000000##FFFFFF
##186D401.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186d40;
/* rgb */ color: rgb(24, 109, 64);
/* oklch */ color: oklch(47.4% 0.107 154.8);
Tailwind
colors: {
  custom: {
    50: '#639875',
    500: '#186d40',
    950: '#000000',
  },
}
SCSS
$custom: #186d40;
$custom-light: #639875;
$custom-dark: #000000;
JSON
{
  "hex": "#186d40",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 64
  },
  "hsl": {
    "h": 148.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.10698,
    "h": 154.8
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#186D40
secondary
#A33E73
accent
#4199E7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #186D40

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

Preview Lab → · Contrast checker → · Palette generator →

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