#185B2A#185B2A

#185B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.103 H 148.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#185B2A
RGBrgb(24, 91, 42)
HSLhsl(136, 58%, 23%)
HSVhsv(136, 74%, 36%)
CMYKcmyk(73.6%, 0%, 53.8%, 64.3%)
CIE-LABlab(33.65, -32.67, 22.23)
CIE-LCHlch(33.65, 39.52, 145.77°)
OKLaboklab(41.71% -0.088 0.0539)
OKLCHoklch(41.71% 0.103 148.5)
XYZxyz(4.5353, 7.8430, 3.4649)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B2A #5B1849
analogous
#285B18 #185B2A #185B4B
triadic
#185B2A #2A185B #5B2A18
tetradic
#185B2A #18285B #5B1849 #5B4B18
square
#185B2A #18285B #5B1849 #5B4B18
split-complementary
#185B2A #4B185B #5B1828
monochromatic
#06180B #0B2B14 #185B2A #258B40 #32BC57

Accessibility & contrast

On white

8.18
#185B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185B2A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B2A#FFFFFF#000000##FFFFFF
##185B2A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185b2a;
/* rgb */ color: rgb(24, 91, 42);
/* oklch */ color: oklch(41.7% 0.103 148.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a64',
    500: '#185b2a',
    950: '#000000',
  },
}
SCSS
$custom: #185b2a;
$custom-light: #5f8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#185b2a",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 136.119,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.10322,
    "h": 148.5
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#185B2A
secondary
#923D7B
accent
#46B8E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #185B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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