#185717#185717

#185717 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.115 H 142.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#185717
RGBrgb(24, 87, 23)
HSLhsl(119, 58%, 22%)
HSVhsv(119, 74%, 34%)
CMYKcmyk(72.4%, 0%, 73.6%, 65.9%)
CIE-LABlab(31.97, -33.73, 30.22)
CIE-LCHlch(31.97, 45.29, 138.14°)
OKLaboklab(40.24% -0.0917 0.0694)
OKLCHoklch(40.24% 0.115 142.9)
XYZxyz(3.9393, 7.0720, 1.9679)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185717 #561757
analogous
#385717 #185717 #175736
triadic
#185717 #171857 #571718
tetradic
#185717 #173857 #561757 #573617
square
#185717 #173857 #561757 #573617
split-complementary
#185717 #361757 #571738
monochromatic
#071806 #0B270A #185717 #258724 #33B831

Accessibility & contrast

On white

8.70
#185717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#185717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185717
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185717#FFFFFF#000000##FFFFFF
##1857171.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#09544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #185717;
/* rgb */ color: rgb(24, 87, 23);
/* oklch */ color: oklch(40.2% 0.115 142.9);
Tailwind
colors: {
  custom: {
    50: '#5f8758',
    500: '#185717',
    950: '#000000',
  },
}
SCSS
$custom: #185717;
$custom-light: #5f8758;
$custom-dark: #000000;
JSON
{
  "hex": "#185717",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 119.063,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.11498,
    "h": 142.9
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#185717
secondary
#8D3C8E
accent
#46E1DF
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185717

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

Preview Lab → · Contrast checker → · Palette generator →

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