#186940#186940

#186940 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.101 H 156.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#186940
RGBrgb(24, 105, 64)
HSLhsl(150, 63%, 25%)
HSVhsv(150, 77%, 41%)
CMYKcmyk(77.1%, 0%, 39%, 58.8%)
CIE-LABlab(39.01, -34.21, 16.39)
CIE-LCHlch(39.01, 37.93, 154.40°)
OKLaboklab(46.25% -0.0925 0.0411)
OKLCHoklch(46.25% 0.101 156)
XYZxyz(6.3531, 10.6668, 6.5736)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186940 #691841
analogous
#186918 #186940 #186969
triadic
#186940 #401869 #694018
tetradic
#186940 #181869 #691841 #696918
square
#186940 #181869 #691841 #696918
split-complementary
#186940 #691869 #691818
monochromatic
#06190F #0D3722 #186940 #239B5E #2FCD7D

Accessibility & contrast

On white

6.70
#186940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#186940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186940
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186940#FFFFFF#000000##FFFFFF
##1869401.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186940;
/* rgb */ color: rgb(24, 105, 64);
/* oklch */ color: oklch(46.3% 0.101 156.0);
Tailwind
colors: {
  custom: {
    50: '#629575',
    500: '#186940',
    950: '#000000',
  },
}
SCSS
$custom: #186940;
$custom-light: #629575;
$custom-dark: #000000;
JSON
{
  "hex": "#186940",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 149.63,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.10118,
    "h": 156
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#186940
secondary
#9F3E6F
accent
#4295E6
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #186940

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

Preview Lab → · Contrast checker → · Palette generator →

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