#185D12#185D12

#185D12 is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.0% C 0.126 H 142.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#185D12
RGBrgb(24, 93, 18)
HSLhsl(115, 68%, 22%)
HSVhsv(115, 81%, 36%)
CMYKcmyk(74.2%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.12, -36.50, 34.56)
CIE-LCHlch(34.12, 50.27, 136.56°)
OKLaboklab(42.01% -0.0994 0.0778)
OKLCHoklch(42.01% 0.126 142)
XYZxyz(4.4000, 8.0661, 1.8972)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D12 #57125D
analogous
#3E5D12 #185D12 #125D32
triadic
#185D12 #12185D #5D1218
tetradic
#185D12 #123E5D #57125D #5D3212
square
#185D12 #123E5D #57125D #5D3212
split-complementary
#185D12 #32125D #5D123E
monochromatic
#071A05 #0B2A08 #185D12 #25901C #32C426

Accessibility & contrast

On white

8.04
#185D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#185D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185D12
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185D12#FFFFFF#000000##FFFFFF
##185D121.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5403
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#075A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185d12;
/* rgb */ color: rgb(24, 93, 18);
/* oklch */ color: oklch(42.0% 0.126 142.0);
Tailwind
colors: {
  custom: {
    50: '#618c56',
    500: '#185d12',
    950: '#000000',
  },
}
SCSS
$custom: #185d12;
$custom-light: #618c56;
$custom-dark: #000000;
JSON
{
  "hex": "#185d12",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 115.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.12625,
    "h": 142
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#185D12
secondary
#8E3595
accent
#3DEADD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #185D12

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

Preview Lab → · Contrast checker → · Palette generator →

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