#186F2B#186F2B

#186F2B is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.130 H 146.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#186F2B
RGBrgb(24, 111, 43)
HSLhsl(133, 64%, 26%)
HSVhsv(133, 78%, 44%)
CMYKcmyk(78.4%, 0%, 61.3%, 56.5%)
CIE-LABlab(40.79, -40.37, 30.30)
CIE-LCHlch(40.79, 50.48, 143.11°)
OKLaboklab(47.62% -0.1087 0.0718)
OKLCHoklch(47.62% 0.13 146.6)
XYZxyz(6.4967, 11.7367, 4.2081)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2B #6F185C
analogous
#316F18 #186F2B #186F57
triadic
#186F2B #2B186F #6F2B18
tetradic
#186F2B #18316F #6F185C #6F5718
square
#186F2B #18316F #6F185C #6F5718
split-complementary
#186F2B #57186F #6F1831
monochromatic
#05190A #0D3D18 #186F2B #23A13E #2FD253

Accessibility & contrast

On white

6.27
#186F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#186F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F2B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F2B#FFFFFF#000000##FFFFFF
##186F2B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716424
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f2b;
/* rgb */ color: rgb(24, 111, 43);
/* oklch */ color: oklch(47.6% 0.130 146.6);
Tailwind
colors: {
  custom: {
    50: '#649967',
    500: '#186f2b',
    950: '#000000',
  },
}
SCSS
$custom: #186f2b;
$custom-light: #649967;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2b",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 133.103,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.13028,
    "h": 146.6
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#186F2B
secondary
#A53E8E
accent
#40C3E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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