#185C12#185C12

#185C12 is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.7% C 0.125 H 142.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#185C12
RGBrgb(24, 92, 18)
HSLhsl(115, 67%, 22%)
HSVhsv(115, 80%, 36%)
CMYKcmyk(73.9%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.76, -36.13, 34.20)
CIE-LCHlch(33.76, 49.75, 136.57°)
OKLaboklab(41.71% -0.0984 0.077)
OKLCHoklch(41.71% 0.125 142)
XYZxyz(4.3128, 7.8917, 1.8681)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C12 #56125C
analogous
#3D5C12 #185C12 #125C31
triadic
#185C12 #12185C #5C1218
tetradic
#185C12 #123D5C #56125C #5C3112
square
#185C12 #123D5C #56125C #5C3112
split-complementary
#185C12 #31125C #5C123D
monochromatic
#071A05 #0B2908 #185C12 #258F1C #33C226

Accessibility & contrast

On white

8.14
#185C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#185C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C12
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C12#FFFFFF#000000##FFFFFF
##185C121.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#07594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185c12;
/* rgb */ color: rgb(24, 92, 18);
/* oklch */ color: oklch(41.7% 0.125 142.0);
Tailwind
colors: {
  custom: {
    50: '#618b56',
    500: '#185c12',
    950: '#000000',
  },
}
SCSS
$custom: #185c12;
$custom-light: #618b56;
$custom-dark: #000000;
JSON
{
  "hex": "#185c12",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 115.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.12499,
    "h": 142
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#185C12
secondary
#8D3594
accent
#3EEADC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185C12

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

Preview Lab → · Contrast checker → · Palette generator →

#185C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva