#186B2F#186B2F

#186B2F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.121 H 148.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#186B2F
RGBrgb(24, 107, 47)
HSLhsl(137, 63%, 26%)
HSVhsv(137, 78%, 42%)
CMYKcmyk(77.6%, 0%, 56.1%, 58%)
CIE-LABlab(39.44, -38.25, 26.58)
CIE-LCHlch(39.44, 46.57, 145.21°)
OKLaboklab(46.51% -0.1029 0.0639)
OKLCHoklch(46.51% 0.121 148.2)
XYZxyz(6.1470, 10.9141, 4.4714)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B2F #6B1854
analogous
#2A6B18 #186B2F #186B58
triadic
#186B2F #2F186B #6B2F18
tetradic
#186B2F #182A6B #6B1854 #6B5818
square
#186B2F #182A6B #6B1854 #6B5818
split-complementary
#186B2F #58186B #6B182A
monochromatic
#06190B #0D3919 #186B2F #239D45 #2ECF5B

Accessibility & contrast

On white

6.60
#186B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186B2F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B2F#FFFFFF#000000##FFFFFF
##186B2F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b2f;
/* rgb */ color: rgb(24, 107, 47);
/* oklch */ color: oklch(46.5% 0.121 148.2);
Tailwind
colors: {
  custom: {
    50: '#639669',
    500: '#186b2f',
    950: '#000000',
  },
}
SCSS
$custom: #186b2f;
$custom-light: #639669;
$custom-dark: #000000;
JSON
{
  "hex": "#186b2f",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 136.627,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46509,
    "c": 0.12113,
    "h": 148.2
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#186B2F
secondary
#A13E85
accent
#41B9E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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