#186712#186712

#186712 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.139 H 142.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#186712
RGBrgb(24, 103, 18)
HSLhsl(116, 70%, 24%)
HSVhsv(116, 83%, 40%)
CMYKcmyk(76.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.73, -40.15, 38.09)
CIE-LCHlch(37.73, 55.34, 136.51°)
OKLaboklab(45.01% -0.1093 0.0851)
OKLCHoklch(45.01% 0.139 142.1)
XYZxyz(5.3358, 9.9378, 2.2091)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186712 #611267
analogous
#426712 #186712 #126736
triadic
#186712 #121867 #671218
tetradic
#186712 #124267 #611267 #673612
square
#186712 #124267 #611267 #673612
split-complementary
#186712 #361267 #671242
monochromatic
#061A05 #0C3309 #186712 #249B1B #30CF24

Accessibility & contrast

On white

7.03
#186712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#186712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186712
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186712#FFFFFF#000000##FFFFFF
##1867121.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186712;
/* rgb */ color: rgb(24, 103, 18);
/* oklch */ color: oklch(45.0% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#649357',
    500: '#186712',
    950: '#000000',
  },
}
SCSS
$custom: #186712;
$custom-light: #649357;
$custom-dark: #000000;
JSON
{
  "hex": "#186712",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 115.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.13854,
    "h": 142.1
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#186712
secondary
#97369F
accent
#3BEDE0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #186712

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

Preview Lab → · Contrast checker → · Palette generator →

#186712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva