#185B1F#185B1F

#185B1F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.114 H 144.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#185B1F
RGBrgb(24, 91, 31)
HSLhsl(126, 58%, 23%)
HSVhsv(126, 74%, 36%)
CMYKcmyk(73.6%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.51, -34.35, 28.02)
CIE-LCHlch(33.51, 44.33, 140.80°)
OKLaboklab(41.54% -0.0929 0.0657)
OKLCHoklch(41.54% 0.114 144.7)
XYZxyz(4.3648, 7.7748, 2.5667)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B1F #5B1854
analogous
#325B18 #185B1F #185B41
triadic
#185B1F #1F185B #5B1F18
tetradic
#185B1F #18325B #5B1854 #5B4118
square
#185B1F #18325B #5B1854 #5B4118
split-complementary
#185B1F #41185B #5B1832
monochromatic
#061808 #0B2B0F #185B1F #258B2F #32BC40

Accessibility & contrast

On white

8.22
#185B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#185B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B1F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B1F#FFFFFF#000000##FFFFFF
##185B1F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5218
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#03584E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b1f;
/* rgb */ color: rgb(24, 91, 31);
/* oklch */ color: oklch(41.5% 0.114 144.7);
Tailwind
colors: {
  custom: {
    50: '#608a5d',
    500: '#185b1f',
    950: '#000000',
  },
}
SCSS
$custom: #185b1f;
$custom-light: #608a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#185b1f",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 126.269,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.11379,
    "h": 144.7
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#185B1F
secondary
#923D89
accent
#46D1E1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #185B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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