#186B2A#186B2A

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

Color values

HEX#186B2A
RGBrgb(24, 107, 42)
HSLhsl(133, 63%, 26%)
HSVhsv(133, 78%, 42%)
CMYKcmyk(77.6%, 0%, 60.7%, 58%)
CIE-LABlab(39.37, -39.01, 29.15)
CIE-LCHlch(39.37, 48.70, 143.24°)
OKLaboklab(46.43% -0.1051 0.0692)
OKLCHoklch(46.43% 0.126 146.6)
XYZxyz(6.0519, 10.8761, 3.9704)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B2A #6B1859
analogous
#2F6B18 #186B2A #186B53
triadic
#186B2A #2A186B #6B2A18
tetradic
#186B2A #182F6B #6B1859 #6B5318
square
#186B2A #182F6B #6B1859 #6B5318
split-complementary
#186B2A #53186B #6B182F
monochromatic
#06190A #0D3916 #186B2A #239D3E #2ECF51

Accessibility & contrast

On white

6.61
#186B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#186B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B2A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B2A#FFFFFF#000000##FFFFFF
##186B2A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6124
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b2a;
/* rgb */ color: rgb(24, 107, 42);
/* oklch */ color: oklch(46.4% 0.126 146.6);
Tailwind
colors: {
  custom: {
    50: '#639666',
    500: '#186b2a',
    950: '#000000',
  },
}
SCSS
$custom: #186b2a;
$custom-light: #639666;
$custom-dark: #000000;
JSON
{
  "hex": "#186b2a",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 133.012,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.1258,
    "h": 146.6
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#186B2A
secondary
#A13E8B
accent
#41C3E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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