#186015#186015

#186015 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.128 H 142.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#186015
RGBrgb(24, 96, 21)
HSLhsl(118, 64%, 23%)
HSVhsv(118, 78%, 38%)
CMYKcmyk(75%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.23, -37.36, 34.48)
CIE-LCHlch(35.23, 50.84, 137.30°)
OKLaboklab(42.94% -0.1016 0.0781)
OKLCHoklch(42.94% 0.128 142.5)
XYZxyz(4.6946, 8.6136, 2.1245)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186015 #5D1560
analogous
#3D6015 #186015 #156037
triadic
#186015 #151860 #601518
tetradic
#186015 #153D60 #5D1560 #603715
square
#186015 #153D60 #5D1560 #603715
split-complementary
#186015 #371560 #60153D
monochromatic
#061905 #0B2E0A #186015 #259220 #31C42B

Accessibility & contrast

On white

7.71
#186015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#186015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186015
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186015#FFFFFF#000000##FFFFFF
##1860151.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#045D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #186015;
/* rgb */ color: rgb(24, 96, 21);
/* oklch */ color: oklch(42.9% 0.128 142.5);
Tailwind
colors: {
  custom: {
    50: '#628e58',
    500: '#186015',
    950: '#000000',
  },
}
SCSS
$custom: #186015;
$custom-light: #628e58;
$custom-dark: #000000;
JSON
{
  "hex": "#186015",
  "rgb": {
    "r": 24,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 117.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42935,
    "c": 0.12813,
    "h": 142.5
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#186015
secondary
#933A97
accent
#41E7E0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #186015

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

Preview Lab → · Contrast checker → · Palette generator →

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