#186A2D#186A2D

#186A2D is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.122 H 147.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#186A2D
RGBrgb(24, 106, 45)
HSLhsl(135, 63%, 25%)
HSVhsv(135, 77%, 42%)
CMYKcmyk(77.4%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.06, -38.18, 27.19)
CIE-LCHlch(39.06, 46.87, 144.54°)
OKLaboklab(46.19% -0.1028 0.0651)
OKLCHoklch(46.19% 0.122 147.6)
XYZxyz(6.0039, 10.6910, 4.2293)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A2D #6A1855
analogous
#2C6A18 #186A2D #186A56
triadic
#186A2D #2D186A #6A2D18
tetradic
#186A2D #182C6A #6A1855 #6A5618
square
#186A2D #182C6A #6A1855 #6A5618
split-complementary
#186A2D #56186A #6A182C
monochromatic
#06190B #0D3818 #186A2D #239C42 #2FCE57

Accessibility & contrast

On white

6.69
#186A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#186A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A2D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A2D#FFFFFF#000000##FFFFFF
##186A2D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6027
Deuteranopia (green-blind)
#625932
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a2d;
/* rgb */ color: rgb(24, 106, 45);
/* oklch */ color: oklch(46.2% 0.122 147.6);
Tailwind
colors: {
  custom: {
    50: '#639567',
    500: '#186a2d',
    950: '#000000',
  },
}
SCSS
$custom: #186a2d;
$custom-light: #639567;
$custom-dark: #000000;
JSON
{
  "hex": "#186a2d",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 135.366,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.12165,
    "h": 147.6
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#186A2D
secondary
#A03E87
accent
#42BCE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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