#186B23#186B23

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

Color values

HEX#186B23
RGBrgb(24, 107, 35)
HSLhsl(128, 63%, 26%)
HSVhsv(128, 78%, 42%)
CMYKcmyk(77.6%, 0%, 67.3%, 58%)
CIE-LABlab(39.29, -39.94, 32.56)
CIE-LCHlch(39.29, 51.53, 140.82°)
OKLaboklab(46.35% -0.1079 0.0758)
OKLCHoklch(46.35% 0.132 144.9)
XYZxyz(5.9374, 10.8303, 3.3673)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B23 #6B1860
analogous
#366B18 #186B23 #186B4C
triadic
#186B23 #23186B #6B2318
tetradic
#186B23 #18366B #6B1860 #6B4C18
square
#186B23 #18366B #6B1860 #6B4C18
split-complementary
#186B23 #4C186B #6B1836
monochromatic
#061908 #0D3913 #186B23 #239D33 #2ECF44

Accessibility & contrast

On white

6.63
#186B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#186B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B23
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B23#FFFFFF#000000##FFFFFF
##186B231.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611A
Deuteranopia (green-blind)
#635A29
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b23;
/* rgb */ color: rgb(24, 107, 35);
/* oklch */ color: oklch(46.3% 0.132 144.9);
Tailwind
colors: {
  custom: {
    50: '#649661',
    500: '#186b23',
    950: '#000000',
  },
}
SCSS
$custom: #186b23;
$custom-light: #649661;
$custom-dark: #000000;
JSON
{
  "hex": "#186b23",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 127.952,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.13185,
    "h": 144.9
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#186B23
secondary
#A13E94
accent
#41D1E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186B23

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

Preview Lab → · Contrast checker → · Palette generator →

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