#185117#185117

#185117 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.107 H 142.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#185117
RGBrgb(24, 81, 23)
HSLhsl(119, 56%, 20%)
HSVhsv(119, 72%, 32%)
CMYKcmyk(70.4%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.76, -31.33, 27.84)
CIE-LCHlch(29.76, 41.91, 138.38°)
OKLaboklab(38.41% -0.0851 0.0644)
OKLCHoklch(38.41% 0.107 142.9)
XYZxyz(3.4736, 6.1406, 1.8126)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185117 #501751
analogous
#355117 #185117 #175133
triadic
#185117 #171851 #511718
tetradic
#185117 #173551 #501751 #513317
square
#185117 #173551 #501751 #513317
split-complementary
#185117 #331751 #511735
monochromatic
#071807 #0A2109 #185117 #268125 #34B032

Accessibility & contrast

On white

9.42
#185117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#185117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185117
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185117#FFFFFF#000000##FFFFFF
##1851171.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#0C4E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #185117;
/* rgb */ color: rgb(24, 81, 23);
/* oklch */ color: oklch(38.4% 0.107 142.9);
Tailwind
colors: {
  custom: {
    50: '#5e8257',
    500: '#185117',
    950: '#000000',
  },
}
SCSS
$custom: #185117;
$custom-light: #5e8257;
$custom-dark: #000000;
JSON
{
  "hex": "#185117",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 118.966,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.10675,
    "h": 142.9
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#185117
secondary
#873C88
accent
#49DFDC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #185117

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

Preview Lab → · Contrast checker → · Palette generator →

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