#185C2A#185C2A

#185C2A is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.105 H 148.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#185C2A
RGBrgb(24, 92, 42)
HSLhsl(136, 59%, 23%)
HSVhsv(136, 74%, 36%)
CMYKcmyk(73.9%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.01, -33.09, 22.68)
CIE-LCHlch(34.01, 40.11, 145.57°)
OKLaboklab(42% -0.0891 0.0549)
OKLCHoklch(42% 0.105 148.4)
XYZxyz(4.6214, 8.0151, 3.4936)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185C2A #5C184A
analogous
#285C18 #185C2A #185C4C
triadic
#185C2A #2A185C #5C2A18
tetradic
#185C2A #18285C #5C184A #5C4C18
square
#185C2A #18285C #5C184A #5C4C18
split-complementary
#185C2A #4C185C #5C1828
monochromatic
#06180B #0B2B14 #185C2A #258D40 #31BD56

Accessibility & contrast

On white

8.07
#185C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#185C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185C2A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185C2A#FFFFFF#000000##FFFFFF
##185C2A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #185c2a;
/* rgb */ color: rgb(24, 92, 42);
/* oklch */ color: oklch(42.0% 0.105 148.4);
Tailwind
colors: {
  custom: {
    50: '#5f8b64',
    500: '#185c2a',
    950: '#000000',
  },
}
SCSS
$custom: #185c2a;
$custom-light: #5f8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#185c2a",
  "rgb": {
    "r": 24,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 135.882,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.10468,
    "h": 148.4
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#185C2A
secondary
#933D7C
accent
#46B9E2
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #185C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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