#186B1F#186B1F

#186B1F is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.135 H 144.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#186B1F
RGBrgb(24, 107, 31)
HSLhsl(125, 63%, 26%)
HSVhsv(125, 78%, 42%)
CMYKcmyk(77.6%, 0%, 71%, 58%)
CIE-LABlab(39.25, -40.40, 34.38)
CIE-LCHlch(39.25, 53.05, 139.60°)
OKLaboklab(46.3% -0.1093 0.0792)
OKLCHoklch(46.3% 0.135 144.1)
XYZxyz(5.8813, 10.8078, 3.0722)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B1F #6B1864
analogous
#3A6B18 #186B1F #186B48
triadic
#186B1F #1F186B #6B1F18
tetradic
#186B1F #183A6B #6B1864 #6B4818
square
#186B1F #183A6B #6B1864 #6B4818
split-complementary
#186B1F #48186B #6B183A
monochromatic
#061907 #0D3911 #186B1F #239D2D #2ECF3C

Accessibility & contrast

On white

6.64
#186B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#186B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B1F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B1F#FFFFFF#000000##FFFFFF
##186B1F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186b1f;
/* rgb */ color: rgb(24, 107, 31);
/* oklch */ color: oklch(46.3% 0.135 144.1);
Tailwind
colors: {
  custom: {
    50: '#64965f',
    500: '#186b1f',
    950: '#000000',
  },
}
SCSS
$custom: #186b1f;
$custom-light: #64965f;
$custom-dark: #000000;
JSON
{
  "hex": "#186b1f",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 125.06,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.135,
    "h": 144.1
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#186B1F
secondary
#A13E98
accent
#41D8E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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