#185715#185715

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

Color values

HEX#185715
RGBrgb(24, 87, 21)
HSLhsl(117, 61%, 21%)
HSVhsv(117, 76%, 34%)
CMYKcmyk(72.4%, 0%, 75.9%, 65.9%)
CIE-LABlab(31.95, -33.94, 31.11)
CIE-LCHlch(31.95, 46.04, 137.49°)
OKLaboklab(40.22% -0.0923 0.071)
OKLCHoklch(40.22% 0.116 142.4)
XYZxyz(3.9200, 7.0643, 1.8663)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185715 #541557
analogous
#395715 #185715 #155733
triadic
#185715 #151857 #571518
tetradic
#185715 #153957 #541557 #573315
square
#185715 #153957 #541557 #573315
split-complementary
#185715 #331557 #571539
monochromatic
#071906 #0A2609 #185715 #268821 #33BA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185715#FFFFFF#000000##FFFFFF
##1857151.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)
#594E0B
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#09544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #185715;
/* rgb */ color: rgb(24, 87, 21);
/* oklch */ color: oklch(40.2% 0.116 142.4);
Tailwind
colors: {
  custom: {
    50: '#5f8757',
    500: '#185715',
    950: '#000000',
  },
}
SCSS
$custom: #185715;
$custom-light: #5f8757;
$custom-dark: #000000;
JSON
{
  "hex": "#185715",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 117.273,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.11649,
    "h": 142.4
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#185715
secondary
#8B398F
accent
#44E4DD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185715

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

Preview Lab → · Contrast checker → · Palette generator →

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