#185412#185412

#185412 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.115 H 141.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#185412
RGBrgb(24, 84, 18)
HSLhsl(115, 65%, 20%)
HSVhsv(115, 79%, 33%)
CMYKcmyk(71.4%, 0%, 78.6%, 67.1%)
CIE-LABlab(30.83, -33.06, 31.25)
CIE-LCHlch(30.83, 45.49, 136.61°)
OKLaboklab(39.28% -0.0901 0.0709)
OKLCHoklch(39.28% 0.115 141.8)
XYZxyz(3.6560, 6.5781, 1.6492)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185412 #4E1254
analogous
#395412 #185412 #12542D
triadic
#185412 #121854 #541218
tetradic
#185412 #123954 #4E1254 #542D12
square
#185412 #123954 #4E1254 #542D12
split-complementary
#185412 #2D1254 #541239
monochromatic
#071905 #0A2207 #185412 #26861D #35B928

Accessibility & contrast

On white

9.07
#185412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#185412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185412
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185412#FFFFFF#000000##FFFFFF
##1854121.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C07
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#0C5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #185412;
/* rgb */ color: rgb(24, 84, 18);
/* oklch */ color: oklch(39.3% 0.115 141.8);
Tailwind
colors: {
  custom: {
    50: '#5f8555',
    500: '#185412',
    950: '#000000',
  },
}
SCSS
$custom: #185412;
$custom-light: #5f8555;
$custom-dark: #000000;
JSON
{
  "hex": "#185412",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 114.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.11465,
    "h": 141.8
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#185412
secondary
#85358D
accent
#40E8D8
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #185412

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

Preview Lab → · Contrast checker → · Palette generator →

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