#186A2A#186A2A

#186A2A is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.1% C 0.124 H 146.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#186A2A
RGBrgb(24, 106, 42)
HSLhsl(133, 63%, 25%)
HSVhsv(133, 77%, 42%)
CMYKcmyk(77.4%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.02, -38.63, 28.73)
CIE-LCHlch(39.02, 48.14, 143.36°)
OKLaboklab(46.14% -0.1041 0.0683)
OKLCHoklch(46.14% 0.124 146.7)
XYZxyz(5.9482, 10.6687, 3.9358)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A2A #6A1858
analogous
#2F6A18 #186A2A #186A53
triadic
#186A2A #2A186A #6A2A18
tetradic
#186A2A #182F6A #6A1858 #6A5318
square
#186A2A #182F6A #6A1858 #6A5318
split-complementary
#186A2A #53186A #6A182F
monochromatic
#06190A #0D3816 #186A2A #239C3E #2FCE52

Accessibility & contrast

On white

6.70
#186A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#186A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##186A2A#FFFFFF#000000##FFFFFF
##186A2A1.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)
#6B6024
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a2a;
/* rgb */ color: rgb(24, 106, 42);
/* oklch */ color: oklch(46.1% 0.124 146.7);
Tailwind
colors: {
  custom: {
    50: '#639565',
    500: '#186a2a',
    950: '#000000',
  },
}
SCSS
$custom: #186a2a;
$custom-light: #639565;
$custom-dark: #000000;
JSON
{
  "hex": "#186a2a",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 133.171,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.12444,
    "h": 146.7
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#186A2A
secondary
#A03E8A
accent
#42C2E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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