#186728#186728

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

Color values

HEX#186728
RGBrgb(24, 103, 40)
HSLhsl(132, 62%, 25%)
HSVhsv(132, 77%, 40%)
CMYKcmyk(76.7%, 0%, 61.2%, 59.6%)
CIE-LABlab(37.93, -37.77, 28.49)
CIE-LCHlch(37.93, 47.31, 142.98°)
OKLaboklab(45.23% -0.1018 0.0676)
OKLCHoklch(45.23% 0.122 146.4)
XYZxyz(5.6095, 10.0473, 3.6508)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186728 #671857
analogous
#2F6718 #186728 #186750
triadic
#186728 #281867 #672818
tetradic
#186728 #182F67 #671857 #675018
square
#186728 #182F67 #671857 #675018
split-complementary
#186728 #501867 #67182F
monochromatic
#06190A #0C3515 #186728 #24993B #2FCA4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186728#FFFFFF#000000##FFFFFF
##1867281.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)
#685D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186728;
/* rgb */ color: rgb(24, 103, 40);
/* oklch */ color: oklch(45.2% 0.122 146.4);
Tailwind
colors: {
  custom: {
    50: '#629364',
    500: '#186728',
    950: '#000000',
  },
}
SCSS
$custom: #186728;
$custom-light: #629364;
$custom-dark: #000000;
JSON
{
  "hex": "#186728",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 132.152,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.12219,
    "h": 146.4
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#186728
secondary
#9D3E8A
accent
#43C4E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186728

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

Preview Lab → · Contrast checker → · Palette generator →

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