#186812#186812

#186812 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.140 H 142.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#186812
RGBrgb(24, 104, 18)
HSLhsl(116, 70%, 24%)
HSVhsv(116, 83%, 41%)
CMYKcmyk(76.9%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.09, -40.50, 38.43)
CIE-LCHlch(38.09, 55.83, 136.50°)
OKLaboklab(45.3% -0.1102 0.0859)
OKLCHoklch(45.3% 0.14 142.1)
XYZxyz(5.4359, 10.1379, 2.2425)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186812 #621268
analogous
#436812 #186812 #126837
triadic
#186812 #121868 #681218
tetradic
#186812 #124368 #621268 #683712
square
#186812 #124368 #621268 #683712
split-complementary
#186812 #371268 #681243
monochromatic
#061A05 #0C3409 #186812 #249C1B #30D024

Accessibility & contrast

On white

6.94
#186812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186812
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186812#FFFFFF#000000##FFFFFF
##1868121.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186812;
/* rgb */ color: rgb(24, 104, 18);
/* oklch */ color: oklch(45.3% 0.140 142.1);
Tailwind
colors: {
  custom: {
    50: '#649458',
    500: '#186812',
    950: '#000000',
  },
}
SCSS
$custom: #186812;
$custom-light: #649458;
$custom-dark: #000000;
JSON
{
  "hex": "#186812",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 115.814,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.13974,
    "h": 142.1
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#186812
secondary
#9836A0
accent
#3BEDE1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #186812

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

Preview Lab → · Contrast checker → · Palette generator →

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