#185D1F#185D1F

#185D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 144.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#185D1F
RGBrgb(24, 93, 31)
HSLhsl(126, 59%, 23%)
HSVhsv(126, 74%, 36%)
CMYKcmyk(74.2%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.23, -35.14, 28.84)
CIE-LCHlch(34.23, 45.45, 140.62°)
OKLaboklab(42.14% -0.095 0.0675)
OKLCHoklch(42.14% 0.117 144.6)
XYZxyz(4.5381, 8.1213, 2.6245)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D1F #5D1856
analogous
#335D18 #185D1F #185D41
triadic
#185D1F #1F185D #5D1F18
tetradic
#185D1F #18335D #5D1856 #5D4118
square
#185D1F #18335D #5D1856 #5D4118
split-complementary
#185D1F #41185D #5D1833
monochromatic
#061808 #0B2C0F #185D1F #258E2F #31BE3F

Accessibility & contrast

On white

8.00
#185D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#185D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185D1F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185D1F#FFFFFF#000000##FFFFFF
##185D1F1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#574E24
Tritanopia (blue-blind)
#025A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185d1f;
/* rgb */ color: rgb(24, 93, 31);
/* oklch */ color: oklch(42.1% 0.117 144.6);
Tailwind
colors: {
  custom: {
    50: '#608c5d',
    500: '#185d1f',
    950: '#000000',
  },
}
SCSS
$custom: #185d1f;
$custom-light: #608c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#185d1f",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 126.087,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.11654,
    "h": 144.6
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #185D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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