#186816#186816

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

Color values

HEX#186816
RGBrgb(24, 104, 22)
HSLhsl(119, 65%, 25%)
HSVhsv(119, 79%, 41%)
CMYKcmyk(76.9%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.11, -40.19, 36.99)
CIE-LCHlch(38.11, 54.62, 137.37°)
OKLaboklab(45.33% -0.1092 0.0834)
OKLCHoklch(45.33% 0.137 142.6)
XYZxyz(5.4715, 10.1521, 2.4301)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186816 #661668
analogous
#416816 #186816 #16683D
triadic
#186816 #161868 #681618
tetradic
#186816 #164168 #661668 #683D16
square
#186816 #164168 #661668 #683D16
split-complementary
#186816 #3D1668 #681641
monochromatic
#061905 #0C350B #186816 #249B21 #2FCD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186816#FFFFFF#000000##FFFFFF
##1868161.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)
#6A5D06
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186816;
/* rgb */ color: rgb(24, 104, 22);
/* oklch */ color: oklch(45.3% 0.137 142.6);
Tailwind
colors: {
  custom: {
    50: '#649459',
    500: '#186816',
    950: '#000000',
  },
}
SCSS
$custom: #186816;
$custom-light: #649459;
$custom-dark: #000000;
JSON
{
  "hex": "#186816",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 118.537,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.13744,
    "h": 142.6
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#186816
secondary
#9C3B9F
accent
#40E8E4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186816

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

Preview Lab → · Contrast checker → · Palette generator →

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