#186F2E#186F2E

#186F2E is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.128 H 147.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#186F2E
RGBrgb(24, 111, 46)
HSLhsl(135, 64%, 26%)
HSVhsv(135, 78%, 44%)
CMYKcmyk(78.4%, 0%, 58.6%, 56.5%)
CIE-LABlab(40.83, -39.93, 28.79)
CIE-LCHlch(40.83, 49.23, 144.21°)
OKLaboklab(47.66% -0.1075 0.0687)
OKLCHoklch(47.66% 0.128 147.4)
XYZxyz(6.5538, 11.7596, 4.5087)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F2E #6F1859
analogous
#2E6F18 #186F2E #186F5A
triadic
#186F2E #2E186F #6F2E18
tetradic
#186F2E #182E6F #6F1859 #6F5A18
square
#186F2E #182E6F #6F1859 #6F5A18
split-complementary
#186F2E #5A186F #6F182E
monochromatic
#05190A #0D3D19 #186F2E #23A143 #2FD258

Accessibility & contrast

On white

6.26
#186F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F2E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F2E#FFFFFF#000000##FFFFFF
##186F2E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706428
Deuteranopia (green-blind)
#665E33
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f2e;
/* rgb */ color: rgb(24, 111, 46);
/* oklch */ color: oklch(47.7% 0.128 147.4);
Tailwind
colors: {
  custom: {
    50: '#649969',
    500: '#186f2e',
    950: '#000000',
  },
}
SCSS
$custom: #186f2e;
$custom-light: #649969;
$custom-dark: #000000;
JSON
{
  "hex": "#186f2e",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 135.172,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47661,
    "c": 0.12755,
    "h": 147.4
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#186F2E
secondary
#A53E8B
accent
#40BDE7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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