#186717#186717

#186717 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.0% C 0.136 H 142.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#186717
RGBrgb(24, 103, 23)
HSLhsl(119, 63%, 25%)
HSVhsv(119, 78%, 40%)
CMYKcmyk(76.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.76, -39.74, 36.24)
CIE-LCHlch(37.76, 53.79, 137.64°)
OKLaboklab(45.04% -0.1079 0.082)
OKLCHoklch(45.04% 0.136 142.8)
XYZxyz(5.3813, 9.9559, 2.4485)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186717 #661767
analogous
#406717 #186717 #17673E
triadic
#186717 #171867 #671718
tetradic
#186717 #174067 #661767 #673E17
square
#186717 #174067 #661767 #673E17
split-complementary
#186717 #3E1767 #671740
monochromatic
#061906 #0C350C #186717 #249922 #2FCB2D

Accessibility & contrast

On white

7.02
#186717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #186717
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186717#FFFFFF#000000##FFFFFF
##1867171.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186717;
/* rgb */ color: rgb(24, 103, 23);
/* oklch */ color: oklch(45.0% 0.136 142.8);
Tailwind
colors: {
  custom: {
    50: '#63935a',
    500: '#186717',
    950: '#000000',
  },
}
SCSS
$custom: #186717;
$custom-light: #63935a;
$custom-dark: #000000;
JSON
{
  "hex": "#186717",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 119.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.13558,
    "h": 142.8
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#186717
secondary
#9C3D9D
accent
#41E7E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186717

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

Preview Lab → · Contrast checker → · Palette generator →

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