#186B28#186B28

#186B28 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.128 H 146.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#186B28
RGBrgb(24, 107, 40)
HSLhsl(132, 63%, 26%)
HSVhsv(132, 78%, 42%)
CMYKcmyk(77.6%, 0%, 62.6%, 58%)
CIE-LABlab(39.35, -39.29, 30.14)
CIE-LCHlch(39.35, 49.52, 142.50°)
OKLaboklab(46.41% -0.1059 0.0712)
OKLCHoklch(46.41% 0.128 146.1)
XYZxyz(6.0170, 10.8621, 3.7866)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B28 #6B185B
analogous
#316B18 #186B28 #186B51
triadic
#186B28 #28186B #6B2818
tetradic
#186B28 #18316B #6B185B #6B5118
square
#186B28 #18316B #6B185B #6B5118
split-complementary
#186B28 #51186B #6B1831
monochromatic
#061909 #0D3915 #186B28 #239D3B #2ECF4D

Accessibility & contrast

On white

6.62
#186B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#186B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B28
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B28#FFFFFF#000000##FFFFFF
##186B281.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b28;
/* rgb */ color: rgb(24, 107, 40);
/* oklch */ color: oklch(46.4% 0.128 146.1);
Tailwind
colors: {
  custom: {
    50: '#639664',
    500: '#186b28',
    950: '#000000',
  },
}
SCSS
$custom: #186b28;
$custom-light: #639664;
$custom-dark: #000000;
JSON
{
  "hex": "#186b28",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 131.566,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.1276,
    "h": 146.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#186B28
secondary
#A13E8E
accent
#41C7E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186B28

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

Preview Lab → · Contrast checker → · Palette generator →

#186B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva