#185A12#185A12

#185A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.1% C 0.122 H 141.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#185A12
RGBrgb(24, 90, 18)
HSLhsl(115, 67%, 21%)
HSVhsv(115, 80%, 35%)
CMYKcmyk(73.3%, 0%, 80%, 64.7%)
CIE-LABlab(33.03, -35.37, 33.48)
CIE-LCHlch(33.03, 48.70, 136.58°)
OKLaboklab(41.1% -0.0964 0.0755)
OKLCHoklch(41.1% 0.122 141.9)
XYZxyz(4.1418, 7.5498, 1.8111)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A12 #54125A
analogous
#3C5A12 #185A12 #125A30
triadic
#185A12 #12185A #5A1218
tetradic
#185A12 #123C5A #54125A #5A3012
square
#185A12 #123C5A #54125A #5A3012
split-complementary
#185A12 #30125A #5A123C
monochromatic
#071A05 #0A2708 #185A12 #268D1C #33C026

Accessibility & contrast

On white

8.37
#185A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#185A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A12
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A12#FFFFFF#000000##FFFFFF
##185A121.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#08574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a12;
/* rgb */ color: rgb(24, 90, 18);
/* oklch */ color: oklch(41.1% 0.122 141.9);
Tailwind
colors: {
  custom: {
    50: '#608955',
    500: '#185a12',
    950: '#000000',
  },
}
SCSS
$custom: #185a12;
$custom-light: #608955;
$custom-dark: #000000;
JSON
{
  "hex": "#185a12",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 115,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.12245,
    "h": 141.9
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#185A12
secondary
#8B3593
accent
#3EEADB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #185A12

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

Preview Lab → · Contrast checker → · Palette generator →

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