#186912#186912

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

Color values

HEX#186912
RGBrgb(24, 105, 18)
HSLhsl(116, 71%, 24%)
HSVhsv(116, 83%, 41%)
CMYKcmyk(77.1%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.45, -40.85, 38.78)
CIE-LCHlch(38.45, 56.33, 136.49°)
OKLaboklab(45.6% -0.1112 0.0866)
OKLCHoklch(45.6% 0.141 142.1)
XYZxyz(5.5371, 10.3404, 2.2762)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186912 #631269
analogous
#446912 #186912 #126938
triadic
#186912 #121869 #691218
tetradic
#186912 #124469 #631269 #693812
square
#186912 #124469 #631269 #693812
split-complementary
#186912 #381269 #691244
monochromatic
#061A04 #0C3509 #186912 #249D1B #30D124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186912#FFFFFF#000000##FFFFFF
##1869121.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)
#6C5E00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186912;
/* rgb */ color: rgb(24, 105, 18);
/* oklch */ color: oklch(45.6% 0.141 142.1);
Tailwind
colors: {
  custom: {
    50: '#649558',
    500: '#186912',
    950: '#000000',
  },
}
SCSS
$custom: #186912;
$custom-light: #649558;
$custom-dark: #000000;
JSON
{
  "hex": "#186912",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 115.862,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.14093,
    "h": 142.1
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#186912
secondary
#9936A1
accent
#3AEDE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186912

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

Preview Lab → · Contrast checker → · Palette generator →

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