#186C31#186C31

#186C31 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.121 H 148.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#186C31
RGBrgb(24, 108, 49)
HSLhsl(138, 64%, 26%)
HSVhsv(138, 78%, 42%)
CMYKcmyk(77.8%, 0%, 54.6%, 57.6%)
CIE-LABlab(39.82, -38.31, 25.96)
CIE-LCHlch(39.82, 46.27, 145.88°)
OKLaboklab(46.83% -0.103 0.0627)
OKLCHoklch(46.83% 0.121 148.7)
XYZxyz(6.2931, 11.1403, 4.7238)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C31 #6C1853
analogous
#296C18 #186C31 #186C5B
triadic
#186C31 #31186C #6C3118
tetradic
#186C31 #18296C #6C1853 #6C5B18
square
#186C31 #18296C #6C1853 #6C5B18
split-complementary
#186C31 #5B186C #6C1829
monochromatic
#06190B #0D3A1A #186C31 #239E48 #2ED05E

Accessibility & contrast

On white

6.51
#186C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#186C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C31
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C31#FFFFFF#000000##FFFFFF
##186C311.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186c31;
/* rgb */ color: rgb(24, 108, 49);
/* oklch */ color: oklch(46.8% 0.121 148.7);
Tailwind
colors: {
  custom: {
    50: '#63976a',
    500: '#186c31',
    950: '#000000',
  },
}
SCSS
$custom: #186c31;
$custom-light: #63976a;
$custom-dark: #000000;
JSON
{
  "hex": "#186c31",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 49
  },
  "hsl": {
    "h": 137.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.12059,
    "h": 148.7
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#186C31
secondary
#A23E84
accent
#41B5E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186C31

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

Preview Lab → · Contrast checker → · Palette generator →

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