#185C1F#185C1F

#185C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.115 H 144.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#185C1F
RGBrgb(24, 92, 31)
HSLhsl(126, 59%, 23%)
HSVhsv(126, 74%, 36%)
CMYKcmyk(73.9%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.87, -34.74, 28.43)
CIE-LCHlch(33.87, 44.89, 140.71°)
OKLaboklab(41.84% -0.094 0.0666)
OKLCHoklch(41.84% 0.115 144.7)
XYZxyz(4.4509, 7.9469, 2.5954)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C1F #5C1855
analogous
#335C18 #185C1F #185C41
triadic
#185C1F #1F185C #5C1F18
tetradic
#185C1F #18335C #5C1855 #5C4118
square
#185C1F #18335C #5C1855 #5C4118
split-complementary
#185C1F #41185C #5C1833
monochromatic
#061808 #0B2B0F #185C1F #258D2F #31BD40

Accessibility & contrast

On white

8.11
#185C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#185C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C1F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C1F#FFFFFF#000000##FFFFFF
##185C1F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#564D24
Tritanopia (blue-blind)
#03594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185c1f;
/* rgb */ color: rgb(24, 92, 31);
/* oklch */ color: oklch(41.8% 0.115 144.7);
Tailwind
colors: {
  custom: {
    50: '#608b5d',
    500: '#185c1f',
    950: '#000000',
  },
}
SCSS
$custom: #185c1f;
$custom-light: #608b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#185c1f",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 126.176,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.11517,
    "h": 144.7
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#185C1F
secondary
#933D8A
accent
#46D2E2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #185C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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