#186917#186917

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

Color values

HEX#186917
RGBrgb(24, 105, 23)
HSLhsl(119, 64%, 25%)
HSVhsv(119, 78%, 41%)
CMYKcmyk(77.1%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.48, -40.46, 36.97)
CIE-LCHlch(38.48, 54.81, 137.59°)
OKLaboklab(45.64% -0.1099 0.0835)
OKLCHoklch(45.64% 0.138 142.8)
XYZxyz(5.5826, 10.3586, 2.5156)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186917 #681769
analogous
#416917 #186917 #17693F
triadic
#186917 #171869 #691718
tetradic
#186917 #174169 #681769 #693F17
square
#186917 #174169 #681769 #693F17
split-complementary
#186917 #3F1769 #691741
monochromatic
#061905 #0D370C #186917 #239B22 #2FCD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186917#FFFFFF#000000##FFFFFF
##1869171.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)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186917;
/* rgb */ color: rgb(24, 105, 23);
/* oklch */ color: oklch(45.6% 0.138 142.8);
Tailwind
colors: {
  custom: {
    50: '#64955a',
    500: '#186917',
    950: '#000000',
  },
}
SCSS
$custom: #186917;
$custom-light: #64955a;
$custom-dark: #000000;
JSON
{
  "hex": "#186917",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 119.268,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.13805,
    "h": 142.8
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#186917
secondary
#9E3D9F
accent
#41E7E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186917

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

Preview Lab → · Contrast checker → · Palette generator →

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