#186F27#186F27

#186F27 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.134 H 145.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#186F27
RGBrgb(24, 111, 39)
HSLhsl(130, 64%, 26%)
HSVhsv(130, 78%, 44%)
CMYKcmyk(78.4%, 0%, 64.9%, 56.5%)
CIE-LABlab(40.75, -40.91, 32.25)
CIE-LCHlch(40.75, 52.10, 141.75°)
OKLaboklab(47.57% -0.1103 0.0756)
OKLCHoklch(47.57% 0.134 145.6)
XYZxyz(6.4269, 11.7088, 3.8404)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F27 #6F1860
analogous
#356F18 #186F27 #186F53
triadic
#186F27 #27186F #6F2718
tetradic
#186F27 #18356F #6F1860 #6F5318
square
#186F27 #18356F #6F1860 #6F5318
split-complementary
#186F27 #53186F #6F1835
monochromatic
#051909 #0D3D15 #186F27 #23A139 #2FD24B

Accessibility & contrast

On white

6.28
#186F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#186F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F27
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F27#FFFFFF#000000##FFFFFF
##186F271.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f27;
/* rgb */ color: rgb(24, 111, 39);
/* oklch */ color: oklch(47.6% 0.134 145.6);
Tailwind
colors: {
  custom: {
    50: '#659964',
    500: '#186f27',
    950: '#000000',
  },
}
SCSS
$custom: #186f27;
$custom-light: #659964;
$custom-dark: #000000;
JSON
{
  "hex": "#186f27",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 130.345,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.13375,
    "h": 145.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#186F27
secondary
#A53E93
accent
#40CBE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #186F27

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

Preview Lab → · Contrast checker → · Palette generator →

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