#186A31#186A31

#186A31 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.118 H 149.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#186A31
RGBrgb(24, 106, 49)
HSLhsl(138, 63%, 25%)
HSVhsv(138, 77%, 42%)
CMYKcmyk(77.4%, 0%, 53.8%, 58.4%)
CIE-LABlab(39.11, -37.53, 25.09)
CIE-LCHlch(39.11, 45.14, 146.24°)
OKLaboklab(46.25% -0.1009 0.0607)
OKLCHoklch(46.25% 0.118 149)
XYZxyz(6.0846, 10.7233, 4.6543)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A31 #6A1851
analogous
#286A18 #186A31 #186A5A
triadic
#186A31 #31186A #6A3118
tetradic
#186A31 #18286A #6A1851 #6A5A18
square
#186A31 #18286A #6A1851 #6A5A18
split-complementary
#186A31 #5A186A #6A1828
monochromatic
#06190C #0D381A #186A31 #239C48 #2FCE5F

Accessibility & contrast

On white

6.68
#186A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A31
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A31#FFFFFF#000000##FFFFFF
##186A311.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602C
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a31;
/* rgb */ color: rgb(24, 106, 49);
/* oklch */ color: oklch(46.2% 0.118 149.0);
Tailwind
colors: {
  custom: {
    50: '#63956a',
    500: '#186a31',
    950: '#000000',
  },
}
SCSS
$custom: #186a31;
$custom-light: #63956a;
$custom-dark: #000000;
JSON
{
  "hex": "#186a31",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 138.293,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46249,
    "c": 0.11779,
    "h": 149
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#186A31
secondary
#A03E82
accent
#42B4E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186A31

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

Preview Lab → · Contrast checker → · Palette generator →

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