#185C31#185C31

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

Color values

HEX#185C31
RGBrgb(24, 92, 49)
HSLhsl(142, 59%, 23%)
HSVhsv(142, 74%, 36%)
CMYKcmyk(73.9%, 0%, 46.7%, 63.9%)
CIE-LABlab(34.13, -31.80, 18.79)
CIE-LCHlch(34.13, 36.93, 149.42°)
OKLaboklab(42.13% -0.0857 0.0463)
OKLCHoklch(42.13% 0.097 151.6)
XYZxyz(4.7578, 8.0697, 4.2120)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C31 #5C1843
analogous
#215C18 #185C31 #185C53
triadic
#185C31 #31185C #5C3118
tetradic
#185C31 #18215C #5C1843 #5C5318
square
#185C31 #18215C #5C1843 #5C5318
split-complementary
#185C31 #53185C #5C1821
monochromatic
#06180D #0B2B17 #185C31 #258D4B #31BD65

Accessibility & contrast

On white

8.03
#185C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#185C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C31
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C31#FFFFFF#000000##FFFFFF
##185C311.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542E
Deuteranopia (green-blind)
#544E34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185c31;
/* rgb */ color: rgb(24, 92, 49);
/* oklch */ color: oklch(42.1% 0.097 151.6);
Tailwind
colors: {
  custom: {
    50: '#5f8b69',
    500: '#185c31',
    950: '#000000',
  },
}
SCSS
$custom: #185c31;
$custom-light: #5f8b69;
$custom-dark: #000000;
JSON
{
  "hex": "#185c31",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 49
  },
  "hsl": {
    "h": 142.059,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.09743,
    "h": 151.6
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #185C31

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

Preview Lab → · Contrast checker → · Palette generator →

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