#185B31#185B31

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

Color values

HEX#185B31
RGBrgb(24, 91, 49)
HSLhsl(142, 58%, 23%)
HSVhsv(142, 74%, 36%)
CMYKcmyk(73.6%, 0%, 46.2%, 64.3%)
CIE-LABlab(33.77, -31.37, 18.32)
CIE-LCHlch(33.77, 36.32, 149.71°)
OKLaboklab(41.84% -0.0846 0.0453)
OKLCHoklch(41.84% 0.096 151.8)
XYZxyz(4.6718, 7.8976, 4.1833)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B31 #5B1842
analogous
#205B18 #185B31 #185B52
triadic
#185B31 #31185B #5B3118
tetradic
#185B31 #18205B #5B1842 #5B5218
square
#185B31 #18205B #5B1842 #5B5218
split-complementary
#185B31 #52185B #5B1820
monochromatic
#06180D #0B2B17 #185B31 #258B4B #32BC65

Accessibility & contrast

On white

8.14
#185B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#185B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B31
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B31#FFFFFF#000000##FFFFFF
##185B311.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532E
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b31;
/* rgb */ color: rgb(24, 91, 49);
/* oklch */ color: oklch(41.8% 0.096 151.8);
Tailwind
colors: {
  custom: {
    50: '#5f8a69',
    500: '#185b31',
    950: '#000000',
  },
}
SCSS
$custom: #185b31;
$custom-light: #5f8a69;
$custom-dark: #000000;
JSON
{
  "hex": "#185b31",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 49
  },
  "hsl": {
    "h": 142.388,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.09591,
    "h": 151.8
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#185B31
secondary
#923D72
accent
#46A8E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185B31

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

Preview Lab → · Contrast checker → · Palette generator →

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