#186828#186828

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

Color values

HEX#186828
RGBrgb(24, 104, 40)
HSLhsl(132, 63%, 25%)
HSVhsv(132, 77%, 41%)
CMYKcmyk(76.9%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.28, -38.16, 28.90)
CIE-LCHlch(38.28, 47.87, 142.86°)
OKLaboklab(45.53% -0.1028 0.0685)
OKLCHoklch(45.53% 0.124 146.3)
XYZxyz(5.7096, 10.2474, 3.6841)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186828 #681858
analogous
#306818 #186828 #186850
triadic
#186828 #281868 #682818
tetradic
#186828 #183068 #681858 #685018
square
#186828 #183068 #681858 #685018
split-complementary
#186828 #501868 #681830
monochromatic
#06190A #0D3615 #186828 #239A3B #2FCB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186828#FFFFFF#000000##FFFFFF
##1868281.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)
#6A5E22
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186828;
/* rgb */ color: rgb(24, 104, 40);
/* oklch */ color: oklch(45.5% 0.124 146.3);
Tailwind
colors: {
  custom: {
    50: '#639464',
    500: '#186828',
    950: '#000000',
  },
}
SCSS
$custom: #186828;
$custom-light: #639464;
$custom-dark: #000000;
JSON
{
  "hex": "#186828",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 132,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.12355,
    "h": 146.3
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#186828
secondary
#9E3E8B
accent
#42C5E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186828

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

Preview Lab → · Contrast checker → · Palette generator →

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