#186915#186915

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

Color values

HEX#186915
RGBrgb(24, 105, 21)
HSLhsl(118, 67%, 25%)
HSVhsv(118, 80%, 41%)
CMYKcmyk(77.1%, 0%, 80%, 58.8%)
CIE-LABlab(38.47, -40.63, 37.72)
CIE-LCHlch(38.47, 55.44, 137.13°)
OKLaboklab(45.62% -0.1104 0.0848)
OKLCHoklch(45.62% 0.139 142.5)
XYZxyz(5.5633, 10.3509, 2.4140)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186915 #661569
analogous
#426915 #186915 #15693C
triadic
#186915 #151869 #691518
tetradic
#186915 #154269 #661569 #693C15
square
#186915 #154269 #661569 #693C15
split-complementary
#186915 #3C1569 #691542
monochromatic
#061A05 #0C360B #186915 #249C1F #2FCF29

Accessibility & contrast

On white

6.84
#186915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186915
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186915#FFFFFF#000000##FFFFFF
##1869151.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E03
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186915;
/* rgb */ color: rgb(24, 105, 21);
/* oklch */ color: oklch(45.6% 0.139 142.5);
Tailwind
colors: {
  custom: {
    50: '#649559',
    500: '#186915',
    950: '#000000',
  },
}
SCSS
$custom: #186915;
$custom-light: #649559;
$custom-dark: #000000;
JSON
{
  "hex": "#186915",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 117.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.13926,
    "h": 142.5
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#186915
secondary
#9C3AA0
accent
#3EEAE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #186915

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

Preview Lab → · Contrast checker → · Palette generator →

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