#186315#186315

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

Color values

HEX#186315
RGBrgb(24, 99, 21)
HSLhsl(118, 65%, 24%)
HSVhsv(118, 79%, 39%)
CMYKcmyk(75.8%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.31, -38.47, 35.58)
CIE-LCHlch(36.31, 52.40, 137.24°)
OKLaboklab(43.83% -0.1046 0.0804)
OKLCHoklch(43.83% 0.132 142.5)
XYZxyz(4.9736, 9.1715, 2.2175)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186315 #601563
analogous
#3F6315 #186315 #156339
triadic
#186315 #151863 #631518
tetradic
#186315 #153F63 #601563 #633915
square
#186315 #153F63 #601563 #633915
split-complementary
#186315 #391563 #63153F
monochromatic
#061905 #0C310A #186315 #249520 #30C82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186315#FFFFFF#000000##FFFFFF
##1863151.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)
#655906
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#026054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186315;
/* rgb */ color: rgb(24, 99, 21);
/* oklch */ color: oklch(43.8% 0.132 142.5);
Tailwind
colors: {
  custom: {
    50: '#629058',
    500: '#186315',
    950: '#000000',
  },
}
SCSS
$custom: #186315;
$custom-light: #629058;
$custom-dark: #000000;
JSON
{
  "hex": "#186315",
  "rgb": {
    "r": 24,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 117.692,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.13189,
    "h": 142.5
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#186315
secondary
#963A9A
accent
#40E8E2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #186315

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

Preview Lab → · Contrast checker → · Palette generator →

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