#186827#186827

#186827 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.124 H 146.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#186827
RGBrgb(24, 104, 39)
HSLhsl(131, 63%, 25%)
HSVhsv(131, 77%, 41%)
CMYKcmyk(76.9%, 0%, 62.5%, 59.2%)
CIE-LABlab(38.27, -38.30, 29.40)
CIE-LCHlch(38.27, 48.28, 142.48°)
OKLaboklab(45.51% -0.1033 0.0695)
OKLCHoklch(45.51% 0.124 146.1)
XYZxyz(5.6928, 10.2407, 3.5957)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186827 #681859
analogous
#316818 #186827 #18684F
triadic
#186827 #271868 #682718
tetradic
#186827 #183168 #681859 #684F18
square
#186827 #183168 #681859 #684F18
split-complementary
#186827 #4F1868 #681831
monochromatic
#061909 #0D3614 #186827 #239A3A #2FCB4C

Accessibility & contrast

On white

6.89
#186827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#186827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186827
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186827#FFFFFF#000000##FFFFFF
##1868271.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E20
Deuteranopia (green-blind)
#60582C
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186827;
/* rgb */ color: rgb(24, 104, 39);
/* oklch */ color: oklch(45.5% 0.124 146.1);
Tailwind
colors: {
  custom: {
    50: '#639463',
    500: '#186827',
    950: '#000000',
  },
}
SCSS
$custom: #186827;
$custom-light: #639463;
$custom-dark: #000000;
JSON
{
  "hex": "#186827",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 131.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.12445,
    "h": 146.1
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#186827
secondary
#9E3E8C
accent
#42C7E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186827

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

Preview Lab → · Contrast checker → · Palette generator →

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