#185812#185812

#185812 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.120 H 141.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#185812
RGBrgb(24, 88, 18)
HSLhsl(115, 66%, 21%)
HSVhsv(115, 80%, 35%)
CMYKcmyk(72.7%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.30, -34.61, 32.74)
CIE-LCHlch(32.30, 47.64, 136.59°)
OKLaboklab(40.49% -0.0943 0.074)
OKLCHoklch(40.49% 0.12 141.9)
XYZxyz(3.9754, 7.2169, 1.7556)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185812 #521258
analogous
#3B5812 #185812 #12582F
triadic
#185812 #121858 #581218
tetradic
#185812 #123B58 #521258 #582F12
square
#185812 #123B58 #521258 #582F12
split-complementary
#185812 #2F1258 #58123B
monochromatic
#071905 #0A2508 #185812 #268B1C #34BE27

Accessibility & contrast

On white

8.59
#185812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#185812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185812
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185812#FFFFFF#000000##FFFFFF
##1858121.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#0A554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #185812;
/* rgb */ color: rgb(24, 88, 18);
/* oklch */ color: oklch(40.5% 0.120 141.9);
Tailwind
colors: {
  custom: {
    50: '#608855',
    500: '#185812',
    950: '#000000',
  },
}
SCSS
$custom: #185812;
$custom-light: #608855;
$custom-dark: #000000;
JSON
{
  "hex": "#185812",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 114.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.11987,
    "h": 141.9
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#185812
secondary
#893591
accent
#3FE9DA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #185812

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

Preview Lab → · Contrast checker → · Palette generator →

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