#186916#186916

#186916 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.139 H 142.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#186916
RGBrgb(24, 105, 22)
HSLhsl(119, 65%, 25%)
HSVhsv(119, 79%, 41%)
CMYKcmyk(77.1%, 0%, 79%, 58.8%)
CIE-LABlab(38.47, -40.55, 37.35)
CIE-LCHlch(38.47, 55.13, 137.35°)
OKLaboklab(45.63% -0.1102 0.0842)
OKLCHoklch(45.63% 0.139 142.6)
XYZxyz(5.5727, 10.3546, 2.4639)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186916 #671669
analogous
#426916 #186916 #16693D
triadic
#186916 #161869 #691618
tetradic
#186916 #164269 #671669 #693D16
square
#186916 #164269 #671669 #693D16
split-complementary
#186916 #3D1669 #691642
monochromatic
#061905 #0C360B #186916 #249C21 #2FCE2B

Accessibility & contrast

On white

6.84
#186916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#186916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186916
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186916#FFFFFF#000000##FFFFFF
##1869161.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186916;
/* rgb */ color: rgb(24, 105, 22);
/* oklch */ color: oklch(45.6% 0.139 142.6);
Tailwind
colors: {
  custom: {
    50: '#64955a',
    500: '#186916',
    950: '#000000',
  },
}
SCSS
$custom: #186916;
$custom-light: #64955a;
$custom-dark: #000000;
JSON
{
  "hex": "#186916",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 118.554,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.13866,
    "h": 142.6
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#186916
secondary
#9D3B9F
accent
#3FE8E4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186916

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

Preview Lab → · Contrast checker → · Palette generator →

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