#185318#185318

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

Color values

HEX#185318
RGBrgb(24, 83, 24)
HSLhsl(120, 55%, 21%)
HSVhsv(120, 71%, 33%)
CMYKcmyk(71.1%, 0%, 71.1%, 67.5%)
CIE-LABlab(30.51, -32.03, 28.17)
CIE-LCHlch(30.51, 42.65, 138.67°)
OKLaboklab(39.03% -0.087 0.0652)
OKLCHoklch(39.03% 0.109 143.1)
XYZxyz(3.6346, 6.4463, 1.9167)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185318 #531853
analogous
#355318 #185318 #185335
triadic
#185318 #181853 #531818
tetradic
#185318 #183553 #531853 #533518
square
#185318 #183553 #531853 #533518
split-complementary
#185318 #351853 #531835
monochromatic
#071807 #0A240A #185318 #268226 #33B233

Accessibility & contrast

On white

9.17
#185318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185318
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185318#FFFFFF#000000##FFFFFF
##1853181.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185318;
/* rgb */ color: rgb(24, 83, 24);
/* oklch */ color: oklch(39.0% 0.109 143.1);
Tailwind
colors: {
  custom: {
    50: '#5e8458',
    500: '#185318',
    950: '#000000',
  },
}
SCSS
$custom: #185318;
$custom-light: #5e8458;
$custom-dark: #000000;
JSON
{
  "hex": "#185318",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39034,
    "c": 0.10871,
    "h": 143.1
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#185318
secondary
#8A3D8A
accent
#49DEDE
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185318

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

Preview Lab → · Contrast checker → · Palette generator →

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