#185A2C#185A2C

#185A2C is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.100 H 149.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#185A2C
RGBrgb(24, 90, 44)
HSLhsl(138, 58%, 22%)
HSVhsv(138, 73%, 35%)
CMYKcmyk(73.3%, 0%, 51.1%, 64.7%)
CIE-LABlab(33.32, -31.90, 20.67)
CIE-LCHlch(33.32, 38.01, 147.05°)
OKLaboklab(41.44% -0.0859 0.0505)
OKLCHoklch(41.44% 0.1 149.6)
XYZxyz(4.4871, 7.6879, 3.6298)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2C #5A1846
analogous
#255A18 #185A2C #185A4D
triadic
#185A2C #2C185A #5A2C18
tetradic
#185A2C #18255A #5A1846 #5A4D18
square
#185A2C #18255A #5A1846 #5A4D18
split-complementary
#185A2C #4D185A #5A1825
monochromatic
#06180C #0B2A14 #185A2C #258A44 #32BB5B

Accessibility & contrast

On white

8.28
#185A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#185A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A2C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A2C#FFFFFF#000000##FFFFFF
##185A2C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#534C2F
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a2c;
/* rgb */ color: rgb(24, 90, 44);
/* oklch */ color: oklch(41.4% 0.100 149.6);
Tailwind
colors: {
  custom: {
    50: '#5f8966',
    500: '#185a2c',
    950: '#000000',
  },
}
SCSS
$custom: #185a2c;
$custom-light: #5f8966;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2c",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 44
  },
  "hsl": {
    "h": 138.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.09966,
    "h": 149.6
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#185A2C
secondary
#913D77
accent
#47B2E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #185A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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