#186312#186312

#186312 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.8% C 0.134 H 142.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#186312
RGBrgb(24, 99, 18)
HSLhsl(116, 69%, 23%)
HSVhsv(116, 82%, 39%)
CMYKcmyk(75.8%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.29, -38.71, 36.70)
CIE-LCHlch(36.29, 53.34, 136.53°)
OKLaboklab(43.81% -0.1054 0.0822)
OKLCHoklch(43.81% 0.134 142)
XYZxyz(4.9474, 9.1610, 2.0797)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186312 #5D1263
analogous
#406312 #186312 #126335
triadic
#186312 #121863 #631218
tetradic
#186312 #124063 #5D1263 #633512
square
#186312 #124063 #5D1263 #633512
split-complementary
#186312 #351263 #631240
monochromatic
#061A05 #0B2F09 #186312 #25971B #31CB25

Accessibility & contrast

On white

7.41
#186312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#186312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186312
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186312#FFFFFF#000000##FFFFFF
##1863121.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#036054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186312;
/* rgb */ color: rgb(24, 99, 18);
/* oklch */ color: oklch(43.8% 0.134 142.0);
Tailwind
colors: {
  custom: {
    50: '#639057',
    500: '#186312',
    950: '#000000',
  },
}
SCSS
$custom: #186312;
$custom-light: #639057;
$custom-dark: #000000;
JSON
{
  "hex": "#186312",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 115.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4381,
    "c": 0.1337,
    "h": 142
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#186312
secondary
#93369B
accent
#3CECDF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #186312

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

Preview Lab → · Contrast checker → · Palette generator →

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