#185B2B#185B2B

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

Color values

HEX#185B2B
RGBrgb(24, 91, 43)
HSLhsl(137, 58%, 23%)
HSVhsv(137, 74%, 36%)
CMYKcmyk(73.6%, 0%, 52.7%, 64.3%)
CIE-LABlab(33.67, -32.50, 21.68)
CIE-LCHlch(33.67, 39.06, 146.29°)
OKLaboklab(41.72% -0.0875 0.0527)
OKLCHoklch(41.72% 0.102 149)
XYZxyz(4.5535, 7.8503, 3.5603)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B2B #5B1848
analogous
#265B18 #185B2B #185B4D
triadic
#185B2B #2B185B #5B2B18
tetradic
#185B2B #18265B #5B1848 #5B4D18
square
#185B2B #18265B #5B1848 #5B4D18
split-complementary
#185B2B #4D185B #5B1826
monochromatic
#06180B #0B2B14 #185B2B #258B42 #32BC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185B2B#FFFFFF#000000##FFFFFF
##185B2B1.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)
#5C5327
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b2b;
/* rgb */ color: rgb(24, 91, 43);
/* oklch */ color: oklch(41.7% 0.102 149.0);
Tailwind
colors: {
  custom: {
    50: '#5f8a65',
    500: '#185b2b',
    950: '#000000',
  },
}
SCSS
$custom: #185b2b;
$custom-light: #5f8a65;
$custom-dark: #000000;
JSON
{
  "hex": "#185b2b",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 43
  },
  "hsl": {
    "h": 137.015,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.10219,
    "h": 149
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#185B2B
secondary
#923D7A
accent
#46B5E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #185B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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