#185712#185712

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

Color values

HEX#185712
RGBrgb(24, 87, 18)
HSLhsl(115, 66%, 21%)
HSVhsv(115, 79%, 34%)
CMYKcmyk(72.4%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.93, -34.22, 32.37)
CIE-LCHlch(31.93, 47.11, 136.59°)
OKLaboklab(40.19% -0.0933 0.0732)
OKLCHoklch(40.19% 0.119 141.9)
XYZxyz(3.8939, 7.0538, 1.7285)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185712 #511257
analogous
#3A5712 #185712 #12572E
triadic
#185712 #121857 #571218
tetradic
#185712 #123A57 #511257 #572E12
square
#185712 #123A57 #511257 #572E12
split-complementary
#185712 #2E1257 #57123A
monochromatic
#071905 #0A2408 #185712 #268A1C #34BC27

Accessibility & contrast

On white

8.71
#185712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185712
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185712#FFFFFF#000000##FFFFFF
##1857121.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#0A544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #185712;
/* rgb */ color: rgb(24, 87, 18);
/* oklch */ color: oklch(40.2% 0.119 141.9);
Tailwind
colors: {
  custom: {
    50: '#5f8755',
    500: '#185712',
    950: '#000000',
  },
}
SCSS
$custom: #185712;
$custom-light: #5f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#185712",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 114.783,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.11858,
    "h": 141.9
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#185712
secondary
#883590
accent
#3FE9DA
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185712

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

Preview Lab → · Contrast checker → · Palette generator →

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