#186D38#186D38

#186D38 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.115 H 151.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#186D38
RGBrgb(24, 109, 56)
HSLhsl(143, 64%, 26%)
HSVhsv(143, 78%, 43%)
CMYKcmyk(78%, 0%, 48.6%, 57.3%)
CIE-LABlab(40.27, -37.47, 22.65)
CIE-LCHlch(40.27, 43.79, 148.85°)
OKLaboklab(47.25% -0.1008 0.0555)
OKLCHoklch(47.25% 0.115 151.2)
XYZxyz(6.5586, 11.4162, 5.5985)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D38 #6D184D
analogous
#226D18 #186D38 #186D62
triadic
#186D38 #38186D #6D3818
tetradic
#186D38 #18226D #6D184D #6D6218
square
#186D38 #18226D #6D184D #6D6218
split-complementary
#186D38 #62186D #6D1822
monochromatic
#06190D #0D3B1E #186D38 #239F52 #2ED16C

Accessibility & contrast

On white

6.40
#186D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#186D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D38
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D38#FFFFFF#000000##FFFFFF
##186D381.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6334
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#006B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186d38;
/* rgb */ color: rgb(24, 109, 56);
/* oklch */ color: oklch(47.2% 0.115 151.2);
Tailwind
colors: {
  custom: {
    50: '#63986f',
    500: '#186d38',
    950: '#000000',
  },
}
SCSS
$custom: #186d38;
$custom-light: #63986f;
$custom-dark: #000000;
JSON
{
  "hex": "#186d38",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 56
  },
  "hsl": {
    "h": 142.588,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.11507,
    "h": 151.2
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#186D38
secondary
#A33E7D
accent
#41A8E7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #186D38

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

Preview Lab → · Contrast checker → · Palette generator →

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