#186A2C#186A2C

#186A2C is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.123 H 147.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#186A2C
RGBrgb(24, 106, 44)
HSLhsl(135, 63%, 25%)
HSVhsv(135, 77%, 42%)
CMYKcmyk(77.4%, 0%, 58.5%, 58.4%)
CIE-LABlab(39.04, -38.33, 27.71)
CIE-LCHlch(39.04, 47.30, 144.14°)
OKLaboklab(46.17% -0.1032 0.0662)
OKLCHoklch(46.17% 0.123 147.3)
XYZxyz(5.9849, 10.6834, 4.1291)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A2C #6A1856
analogous
#2D6A18 #186A2C #186A55
triadic
#186A2C #2C186A #6A2C18
tetradic
#186A2C #182D6A #6A1856 #6A5518
square
#186A2C #182D6A #6A1856 #6A5518
split-complementary
#186A2C #55186A #6A182D
monochromatic
#06190A #0D3817 #186A2C #239C41 #2FCE55

Accessibility & contrast

On white

6.69
#186A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#186A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A2C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A2C#FFFFFF#000000##FFFFFF
##186A2C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6026
Deuteranopia (green-blind)
#625931
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a2c;
/* rgb */ color: rgb(24, 106, 44);
/* oklch */ color: oklch(46.2% 0.123 147.3);
Tailwind
colors: {
  custom: {
    50: '#639567',
    500: '#186a2c',
    950: '#000000',
  },
}
SCSS
$custom: #186a2c;
$custom-light: #639567;
$custom-dark: #000000;
JSON
{
  "hex": "#186a2c",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 134.634,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.1226,
    "h": 147.3
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#186A2C
secondary
#A03E88
accent
#42BEE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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