#186727#186727

#186727 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.123 H 146.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#186727
RGBrgb(24, 103, 39)
HSLhsl(131, 62%, 25%)
HSVhsv(131, 77%, 40%)
CMYKcmyk(76.7%, 0%, 62.1%, 59.6%)
CIE-LABlab(37.91, -37.92, 28.99)
CIE-LCHlch(37.91, 47.73, 142.60°)
OKLaboklab(45.22% -0.1022 0.0686)
OKLCHoklch(45.22% 0.123 146.2)
XYZxyz(5.5927, 10.0405, 3.5623)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186727 #671858
analogous
#316718 #186727 #18674E
triadic
#186727 #271867 #672718
tetradic
#186727 #183167 #671858 #674E18
square
#186727 #183167 #671858 #674E18
split-complementary
#186727 #4E1867 #671831
monochromatic
#061909 #0C3514 #186727 #24993A #2FCA4D

Accessibility & contrast

On white

6.98
#186727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#186727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186727
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186727#FFFFFF#000000##FFFFFF
##1867271.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D20
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186727;
/* rgb */ color: rgb(24, 103, 39);
/* oklch */ color: oklch(45.2% 0.123 146.2);
Tailwind
colors: {
  custom: {
    50: '#629363',
    500: '#186727',
    950: '#000000',
  },
}
SCSS
$custom: #186727;
$custom-light: #629363;
$custom-dark: #000000;
JSON
{
  "hex": "#186727",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 131.392,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.12309,
    "h": 146.2
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#186727
secondary
#9D3E8B
accent
#43C6E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186727

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

Preview Lab → · Contrast checker → · Palette generator →

#186727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva