#186718#186718

#186718 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.135 H 142.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#186718
RGBrgb(24, 103, 24)
HSLhsl(120, 62%, 25%)
HSVhsv(120, 77%, 40%)
CMYKcmyk(76.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(37.77, -39.66, 35.85)
CIE-LCHlch(37.77, 53.45, 137.89°)
OKLaboklab(45.05% -0.1076 0.0813)
OKLCHoklch(45.05% 0.135 142.9)
XYZxyz(5.3915, 9.9600, 2.5023)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186718 #671867
analogous
#406718 #186718 #186740
triadic
#186718 #181867 #671818
tetradic
#186718 #184067 #671867 #674018
square
#186718 #184067 #671867 #674018
split-complementary
#186718 #401867 #671840
monochromatic
#061906 #0C350C #186718 #249924 #2FCA2F

Accessibility & contrast

On white

7.02
#186718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#186718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186718
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186718#FFFFFF#000000##FFFFFF
##1867181.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#605720
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186718;
/* rgb */ color: rgb(24, 103, 24);
/* oklch */ color: oklch(45.1% 0.135 142.9);
Tailwind
colors: {
  custom: {
    50: '#63935a',
    500: '#186718',
    950: '#000000',
  },
}
SCSS
$custom: #186718;
$custom-light: #63935a;
$custom-dark: #000000;
JSON
{
  "hex": "#186718",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.13492,
    "h": 142.9
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#186718
secondary
#9D3E9D
accent
#43E5E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186718

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

Preview Lab → · Contrast checker → · Palette generator →

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