#186817#186817

#186817 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.3% C 0.137 H 142.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#186817
RGBrgb(24, 104, 23)
HSLhsl(119, 64%, 25%)
HSVhsv(119, 78%, 41%)
CMYKcmyk(76.9%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.12, -40.11, 36.61)
CIE-LCHlch(38.12, 54.30, 137.61°)
OKLaboklab(45.34% -0.1089 0.0828)
OKLCHoklch(45.34% 0.137 142.8)
XYZxyz(5.4813, 10.1561, 2.4819)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186817 #671768
analogous
#416817 #186817 #17683E
triadic
#186817 #171868 #681718
tetradic
#186817 #174168 #671768 #683E17
square
#186817 #174168 #671768 #683E17
split-complementary
#186817 #3E1768 #681741
monochromatic
#061906 #0C360C #186817 #249A22 #2FCC2D

Accessibility & contrast

On white

6.93
#186817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#186817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186817
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186817#FFFFFF#000000##FFFFFF
##1868171.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E08
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186817;
/* rgb */ color: rgb(24, 104, 23);
/* oklch */ color: oklch(45.3% 0.137 142.8);
Tailwind
colors: {
  custom: {
    50: '#64945a',
    500: '#186817',
    950: '#000000',
  },
}
SCSS
$custom: #186817;
$custom-light: #64945a;
$custom-dark: #000000;
JSON
{
  "hex": "#186817",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 119.259,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.13681,
    "h": 142.8
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#186817
secondary
#9D3D9E
accent
#41E7E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186817

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

Preview Lab → · Contrast checker → · Palette generator →

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