#186B1B#186B1B

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

Color values

HEX#186B1B
RGBrgb(24, 107, 27)
HSLhsl(122, 63%, 26%)
HSVhsv(122, 78%, 42%)
CMYKcmyk(77.6%, 0%, 74.8%, 58%)
CIE-LABlab(39.22, -40.81, 36.09)
CIE-LCHlch(39.22, 54.48, 138.51°)
OKLaboklab(46.26% -0.1106 0.0823)
OKLCHoklch(46.26% 0.138 143.4)
XYZxyz(5.8318, 10.7880, 2.8116)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B1B #6B1868
analogous
#3E6B18 #186B1B #186B44
triadic
#186B1B #1B186B #6B1B18
tetradic
#186B1B #183E6B #6B1868 #6B4418
square
#186B1B #183E6B #6B1868 #6B4418
split-complementary
#186B1B #44186B #6B183E
monochromatic
#061906 #0D390E #186B1B #239D28 #2ECF34

Accessibility & contrast

On white

6.65
#186B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186B1B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B1B#FFFFFF#000000##FFFFFF
##186B1B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186b1b;
/* rgb */ color: rgb(24, 107, 27);
/* oklch */ color: oklch(46.3% 0.138 143.4);
Tailwind
colors: {
  custom: {
    50: '#64965d',
    500: '#186b1b',
    950: '#000000',
  },
}
SCSS
$custom: #186b1b;
$custom-light: #64965d;
$custom-dark: #000000;
JSON
{
  "hex": "#186b1b",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 122.169,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.13788,
    "h": 143.4
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#186B1B
secondary
#A13E9D
accent
#41E0E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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