#186D31#186D31

#186D31 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.122 H 148.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#186D31
RGBrgb(24, 109, 49)
HSLhsl(138, 64%, 26%)
HSVhsv(138, 78%, 43%)
CMYKcmyk(78%, 0%, 55%, 57.3%)
CIE-LABlab(40.17, -38.70, 26.39)
CIE-LCHlch(40.17, 46.84, 145.71°)
OKLaboklab(47.12% -0.1041 0.0636)
OKLCHoklch(47.12% 0.122 148.6)
XYZxyz(6.3992, 11.3525, 4.7591)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D31 #6D1854
analogous
#296D18 #186D31 #186D5B
triadic
#186D31 #31186D #6D3118
tetradic
#186D31 #18296D #6D1854 #6D5B18
square
#186D31 #18296D #6D1854 #6D5B18
split-complementary
#186D31 #5B186D #6D1829
monochromatic
#06190B #0D3B1A #186D31 #239F48 #2ED15E

Accessibility & contrast

On white

6.42
#186D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#186D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D31
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D31#FFFFFF#000000##FFFFFF
##186D311.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632C
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186d31;
/* rgb */ color: rgb(24, 109, 49);
/* oklch */ color: oklch(47.1% 0.122 148.6);
Tailwind
colors: {
  custom: {
    50: '#64986a',
    500: '#186d31',
    950: '#000000',
  },
}
SCSS
$custom: #186d31;
$custom-light: #64986a;
$custom-dark: #000000;
JSON
{
  "hex": "#186d31",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 49
  },
  "hsl": {
    "h": 137.647,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.12197,
    "h": 148.6
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#186D31
secondary
#A33E85
accent
#41B6E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186D31

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

Preview Lab → · Contrast checker → · Palette generator →

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