#186A2F#186A2F

#186A2F is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.120 H 148.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#186A2F
RGBrgb(24, 106, 47)
HSLhsl(137, 63%, 25%)
HSVhsv(137, 77%, 42%)
CMYKcmyk(77.4%, 0%, 55.7%, 58.4%)
CIE-LABlab(39.08, -37.86, 26.15)
CIE-LCHlch(39.08, 46.01, 145.37°)
OKLaboklab(46.22% -0.1019 0.0629)
OKLCHoklch(46.22% 0.12 148.3)
XYZxyz(6.0433, 10.7068, 4.4369)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A2F #6A1853
analogous
#2A6A18 #186A2F #186A58
triadic
#186A2F #2F186A #6A2F18
tetradic
#186A2F #182A6A #6A1853 #6A5818
square
#186A2F #182A6A #6A1853 #6A5818
split-complementary
#186A2F #58186A #6A182A
monochromatic
#06190B #0D3819 #186A2F #239C45 #2FCE5B

Accessibility & contrast

On white

6.68
#186A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A2F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A2F#FFFFFF#000000##FFFFFF
##186A2F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#625933
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a2f;
/* rgb */ color: rgb(24, 106, 47);
/* oklch */ color: oklch(46.2% 0.120 148.3);
Tailwind
colors: {
  custom: {
    50: '#639569',
    500: '#186a2f',
    950: '#000000',
  },
}
SCSS
$custom: #186a2f;
$custom-light: #639569;
$custom-dark: #000000;
JSON
{
  "hex": "#186a2f",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 136.829,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.11974,
    "h": 148.3
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#186A2F
secondary
#A03E84
accent
#42B8E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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