#186F31#186F31

#186F31 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.125 H 148.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#186F31
RGBrgb(24, 111, 49)
HSLhsl(137, 64%, 26%)
HSVhsv(137, 78%, 44%)
CMYKcmyk(78.4%, 0%, 55.9%, 56.5%)
CIE-LABlab(40.87, -39.47, 27.25)
CIE-LCHlch(40.87, 47.96, 145.38°)
OKLaboklab(47.71% -0.1061 0.0655)
OKLCHoklch(47.71% 0.125 148.3)
XYZxyz(6.6150, 11.7841, 4.8311)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F31 #6F1856
analogous
#2B6F18 #186F31 #186F5D
triadic
#186F31 #31186F #6F3118
tetradic
#186F31 #182B6F #6F1856 #6F5D18
square
#186F31 #182B6F #6F1856 #6F5D18
split-complementary
#186F31 #5D186F #6F182B
monochromatic
#05190B #0D3D1B #186F31 #23A147 #2FD25E

Accessibility & contrast

On white

6.26
#186F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#186F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F31
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F31#FFFFFF#000000##FFFFFF
##186F311.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652B
Deuteranopia (green-blind)
#665E36
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f31;
/* rgb */ color: rgb(24, 111, 49);
/* oklch */ color: oklch(47.7% 0.125 148.3);
Tailwind
colors: {
  custom: {
    50: '#64996b',
    500: '#186f31',
    950: '#000000',
  },
}
SCSS
$custom: #186f31;
$custom-light: #64996b;
$custom-dark: #000000;
JSON
{
  "hex": "#186f31",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 137.241,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.12473,
    "h": 148.3
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#186F31
secondary
#A53E87
accent
#40B7E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F31

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

Preview Lab → · Contrast checker → · Palette generator →

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