#185B2C#185B2C

#185B2C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.101 H 149.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#185B2C
RGBrgb(24, 91, 44)
HSLhsl(138, 58%, 23%)
HSVhsv(138, 74%, 36%)
CMYKcmyk(73.6%, 0%, 51.6%, 64.3%)
CIE-LABlab(33.68, -32.32, 21.13)
CIE-LCHlch(33.68, 38.61, 146.82°)
OKLaboklab(41.74% -0.0871 0.0515)
OKLCHoklch(41.74% 0.101 149.4)
XYZxyz(4.5720, 7.8577, 3.6581)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B2C #5B1847
analogous
#265B18 #185B2C #185B4D
triadic
#185B2C #2C185B #5B2C18
tetradic
#185B2C #18265B #5B1847 #5B4D18
square
#185B2C #18265B #5B1847 #5B4D18
split-complementary
#185B2C #4D185B #5B1826
monochromatic
#06180C #0B2B15 #185B2C #258B43 #32BC5B

Accessibility & contrast

On white

8.17
#185B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#185B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B2C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B2C#FFFFFF#000000##FFFFFF
##185B2C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5328
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b2c;
/* rgb */ color: rgb(24, 91, 44);
/* oklch */ color: oklch(41.7% 0.101 149.4);
Tailwind
colors: {
  custom: {
    50: '#5f8a66',
    500: '#185b2c',
    950: '#000000',
  },
}
SCSS
$custom: #185b2c;
$custom-light: #5f8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#185b2c",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 137.91,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41741,
    "c": 0.10115,
    "h": 149.4
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#185B2C
secondary
#923D78
accent
#46B3E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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