#186F38#186F38

#186F38 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.118 H 150.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#186F38
RGBrgb(24, 111, 56)
HSLhsl(142, 64%, 26%)
HSVhsv(142, 78%, 44%)
CMYKcmyk(78.4%, 0%, 49.5%, 56.5%)
CIE-LABlab(40.97, -38.27, 23.54)
CIE-LCHlch(40.97, 44.93, 148.40°)
OKLaboklab(47.82% -0.1029 0.0576)
OKLCHoklch(47.82% 0.118 150.8)
XYZxyz(6.7744, 11.8478, 5.6704)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F38 #6F184F
analogous
#246F18 #186F38 #186F64
triadic
#186F38 #38186F #6F3818
tetradic
#186F38 #18246F #6F184F #6F6418
square
#186F38 #18246F #6F184F #6F6418
split-complementary
#186F38 #64186F #6F1824
monochromatic
#05190D #0D3D1F #186F38 #23A151 #2FD26B

Accessibility & contrast

On white

6.23
#186F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#186F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F38
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F38#FFFFFF#000000##FFFFFF
##186F381.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706534
Deuteranopia (green-blind)
#655E3C
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186f38;
/* rgb */ color: rgb(24, 111, 56);
/* oklch */ color: oklch(47.8% 0.118 150.8);
Tailwind
colors: {
  custom: {
    50: '#64996f',
    500: '#186f38',
    950: '#000000',
  },
}
SCSS
$custom: #186f38;
$custom-light: #64996f;
$custom-dark: #000000;
JSON
{
  "hex": "#186f38",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 142.069,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.1179,
    "h": 150.8
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#186F38
secondary
#A53E7F
accent
#40AAE7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #186F38

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

Preview Lab → · Contrast checker → · Palette generator →

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