#185A2B#185A2B

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

Color values

HEX#185A2B
RGBrgb(24, 90, 43)
HSLhsl(137, 58%, 22%)
HSVhsv(137, 73%, 35%)
CMYKcmyk(73.3%, 0%, 52.2%, 64.7%)
CIE-LABlab(33.31, -32.08, 21.23)
CIE-LCHlch(33.31, 38.47, 146.50°)
OKLaboklab(41.43% -0.0864 0.0517)
OKLCHoklch(41.43% 0.101 149.1)
XYZxyz(4.4686, 7.6805, 3.5320)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2B #5A1847
analogous
#265A18 #185A2B #185A4C
triadic
#185A2B #2B185A #5A2B18
tetradic
#185A2B #18265A #5A1847 #5A4C18
square
#185A2B #18265A #5A1847 #5A4C18
split-complementary
#185A2B #4C185A #5A1826
monochromatic
#06180C #0B2A14 #185A2B #258A42 #32BB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##185A2B#FFFFFF#000000##FFFFFF
##185A2B1.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)
#5B5227
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a2b;
/* rgb */ color: rgb(24, 90, 43);
/* oklch */ color: oklch(41.4% 0.101 149.1);
Tailwind
colors: {
  custom: {
    50: '#5f8965',
    500: '#185a2b',
    950: '#000000',
  },
}
SCSS
$custom: #185a2b;
$custom-light: #5f8965;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2b",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 43
  },
  "hsl": {
    "h": 137.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.1007,
    "h": 149.1
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#185A2B
secondary
#913D79
accent
#47B5E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #185A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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