#186127#186127

#186127 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.115 H 146.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#186127
RGBrgb(24, 97, 39)
HSLhsl(132, 60%, 24%)
HSVhsv(132, 75%, 38%)
CMYKcmyk(75.3%, 0%, 59.8%, 62%)
CIE-LABlab(35.77, -35.59, 26.46)
CIE-LCHlch(35.77, 44.35, 143.37°)
OKLaboklab(43.44% -0.0959 0.0631)
OKLCHoklch(43.44% 0.115 146.7)
XYZxyz(5.0172, 8.8895, 3.3705)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186127 #611852
analogous
#2D6118 #186127 #18614B
triadic
#186127 #271861 #612718
tetradic
#186127 #182D61 #611852 #614B18
square
#186127 #182D61 #611852 #614B18
split-complementary
#186127 #4B1861 #61182D
monochromatic
#06190A #0C3013 #186127 #24923B #30C34E

Accessibility & contrast

On white

7.56
#186127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#186127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186127
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186127#FFFFFF#000000##FFFFFF
##1861271.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625821
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #186127;
/* rgb */ color: rgb(24, 97, 39);
/* oklch */ color: oklch(43.4% 0.115 146.7);
Tailwind
colors: {
  custom: {
    50: '#618f63',
    500: '#186127',
    950: '#000000',
  },
}
SCSS
$custom: #186127;
$custom-light: #618f63;
$custom-dark: #000000;
JSON
{
  "hex": "#186127",
  "rgb": {
    "r": 24,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 132.329,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.11481,
    "h": 146.7
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#186127
secondary
#973D85
accent
#44C3E3
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #186127

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

Preview Lab → · Contrast checker → · Palette generator →

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