#185317#185317

#185317 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.110 H 142.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#185317
RGBrgb(24, 83, 23)
HSLhsl(119, 57%, 21%)
HSVhsv(119, 72%, 33%)
CMYKcmyk(71.1%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.50, -32.14, 28.64)
CIE-LCHlch(30.50, 43.05, 138.30°)
OKLaboklab(39.02% -0.0873 0.0661)
OKLCHoklch(39.02% 0.11 142.9)
XYZxyz(3.6244, 6.4422, 1.8629)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185317 #521753
analogous
#365317 #185317 #175334
triadic
#185317 #171853 #531718
tetradic
#185317 #173653 #521753 #533417
square
#185317 #173653 #521753 #533417
split-complementary
#185317 #341753 #531736
monochromatic
#071807 #0A230A #185317 #268324 #34B332

Accessibility & contrast

On white

9.18
#185317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#185317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185317
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185317#FFFFFF#000000##FFFFFF
##1853171.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#0B5047
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185317;
/* rgb */ color: rgb(24, 83, 23);
/* oklch */ color: oklch(39.0% 0.110 142.9);
Tailwind
colors: {
  custom: {
    50: '#5e8457',
    500: '#185317',
    950: '#000000',
  },
}
SCSS
$custom: #185317;
$custom-light: #5e8457;
$custom-dark: #000000;
JSON
{
  "hex": "#185317",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 119,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.10953,
    "h": 142.9
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#185317
secondary
#893C8A
accent
#48E0DD
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185317

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

Preview Lab → · Contrast checker → · Palette generator →

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