#186818#186818

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

Color values

HEX#186818
RGBrgb(24, 104, 24)
HSLhsl(120, 63%, 25%)
HSVhsv(120, 77%, 41%)
CMYKcmyk(76.9%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.13, -40.02, 36.21)
CIE-LCHlch(38.13, 53.97, 137.86°)
OKLaboklab(45.35% -0.1086 0.0821)
OKLCHoklch(45.35% 0.136 142.9)
XYZxyz(5.4915, 10.1601, 2.5357)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186818 #681868
analogous
#406818 #186818 #186840
triadic
#186818 #181868 #681818
tetradic
#186818 #184068 #681868 #684018
square
#186818 #184068 #681868 #684018
split-complementary
#186818 #401868 #681840
monochromatic
#061906 #0D360D #186818 #239A23 #2FCB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186818#FFFFFF#000000##FFFFFF
##1868181.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)
#6A5E0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186818;
/* rgb */ color: rgb(24, 104, 24);
/* oklch */ color: oklch(45.3% 0.136 142.9);
Tailwind
colors: {
  custom: {
    50: '#64945b',
    500: '#186818',
    950: '#000000',
  },
}
SCSS
$custom: #186818;
$custom-light: #64945b;
$custom-dark: #000000;
JSON
{
  "hex": "#186818",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.13617,
    "h": 142.9
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#186818
secondary
#9E3E9E
accent
#42E6E6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186818

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

Preview Lab → · Contrast checker → · Palette generator →

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