#185D31#185D31

#185D31 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.099 H 151.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#185D31
RGBrgb(24, 93, 49)
HSLhsl(142, 59%, 23%)
HSVhsv(142, 74%, 36%)
CMYKcmyk(74.2%, 0%, 47.3%, 63.5%)
CIE-LABlab(34.49, -32.22, 19.25)
CIE-LCHlch(34.49, 37.53, 149.15°)
OKLaboklab(42.43% -0.0868 0.0474)
OKLCHoklch(42.43% 0.099 151.4)
XYZxyz(4.8450, 8.2441, 4.2411)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D31 #5D1844
analogous
#225D18 #185D31 #185D53
triadic
#185D31 #31185D #5D3118
tetradic
#185D31 #18225D #5D1844 #5D5318
square
#185D31 #18225D #5D1844 #5D5318
split-complementary
#185D31 #53185D #5D1822
monochromatic
#06180D #0B2C17 #185D31 #258E4B #31BE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185D31#FFFFFF#000000##FFFFFF
##185D311.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)
#5D552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185d31;
/* rgb */ color: rgb(24, 93, 49);
/* oklch */ color: oklch(42.4% 0.099 151.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c6a',
    500: '#185d31',
    950: '#000000',
  },
}
SCSS
$custom: #185d31;
$custom-light: #5f8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#185d31",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 49
  },
  "hsl": {
    "h": 141.739,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.09892,
    "h": 151.4
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#185D31
secondary
#933D74
accent
#46A9E2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185D31

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

Preview Lab → · Contrast checker → · Palette generator →

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