#185E12#185E12

#185E12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.128 H 142.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#185E12
RGBrgb(24, 94, 18)
HSLhsl(115, 68%, 22%)
HSVhsv(115, 81%, 37%)
CMYKcmyk(74.5%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.48, -36.88, 34.92)
CIE-LCHlch(34.48, 50.79, 136.56°)
OKLaboklab(42.31% -0.1004 0.0785)
OKLCHoklch(42.31% 0.128 142)
XYZxyz(4.4883, 8.2428, 1.9266)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185E12 #58125E
analogous
#3E5E12 #185E12 #125E32
triadic
#185E12 #12185E #5E1218
tetradic
#185E12 #123E5E #58125E #5E3212
square
#185E12 #123E5E #58125E #5E3212
split-complementary
#185E12 #32125E #5E123E
monochromatic
#071A05 #0B2B08 #185E12 #25911C #32C526

Accessibility & contrast

On white

7.93
#185E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#185E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185E12
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185E12#FFFFFF#000000##FFFFFF
##185E121.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#065B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185e12;
/* rgb */ color: rgb(24, 94, 18);
/* oklch */ color: oklch(42.3% 0.128 142.0);
Tailwind
colors: {
  custom: {
    50: '#618c56',
    500: '#185e12',
    950: '#000000',
  },
}
SCSS
$custom: #185e12;
$custom-light: #618c56;
$custom-dark: #000000;
JSON
{
  "hex": "#185e12",
  "rgb": {
    "r": 24,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 115.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.12751,
    "h": 142
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#185E12
secondary
#8F3596
accent
#3DEBDD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #185E12

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

Preview Lab → · Contrast checker → · Palette generator →

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