#186918#186918

#186918 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.6% C 0.137 H 142.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#186918
RGBrgb(24, 105, 24)
HSLhsl(120, 63%, 25%)
HSVhsv(120, 77%, 41%)
CMYKcmyk(77.1%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.49, -40.38, 36.57)
CIE-LCHlch(38.49, 54.48, 137.83°)
OKLaboklab(45.64% -0.1096 0.0829)
OKLCHoklch(45.64% 0.137 142.9)
XYZxyz(5.5928, 10.3627, 2.5694)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186918 #691869
analogous
#406918 #186918 #186940
triadic
#186918 #181869 #691818
tetradic
#186918 #184069 #691869 #694018
square
#186918 #184069 #691869 #694018
split-complementary
#186918 #401869 #691840
monochromatic
#061906 #0D370D #186918 #239B23 #2FCD2F

Accessibility & contrast

On white

6.83
#186918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186918
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186918#FFFFFF#000000##FFFFFF
##1869181.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186918;
/* rgb */ color: rgb(24, 105, 24);
/* oklch */ color: oklch(45.6% 0.137 142.9);
Tailwind
colors: {
  custom: {
    50: '#64955b',
    500: '#186918',
    950: '#000000',
  },
}
SCSS
$custom: #186918;
$custom-light: #64955b;
$custom-dark: #000000;
JSON
{
  "hex": "#186918",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.13741,
    "h": 142.9
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#186918
secondary
#9F3E9F
accent
#42E6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186918

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

Preview Lab → · Contrast checker → · Palette generator →

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