#185A2A#185A2A

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

Color values

HEX#185A2A
RGBrgb(24, 90, 42)
HSLhsl(136, 58%, 22%)
HSVhsv(136, 73%, 35%)
CMYKcmyk(73.3%, 0%, 53.3%, 64.7%)
CIE-LABlab(33.29, -32.25, 21.78)
CIE-LCHlch(33.29, 38.92, 145.97°)
OKLaboklab(41.41% -0.0869 0.0529)
OKLCHoklch(41.41% 0.102 148.7)
XYZxyz(4.4504, 7.6732, 3.4366)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A2A #5A1848
analogous
#275A18 #185A2A #185A4B
triadic
#185A2A #2A185A #5A2A18
tetradic
#185A2A #18275A #5A1848 #5A4B18
square
#185A2A #18275A #5A1848 #5A4B18
split-complementary
#185A2A #4B185A #5A1827
monochromatic
#06180B #0B2A13 #185A2A #258A41 #32BB57

Accessibility & contrast

On white

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

On black

2.53
#185A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##185A2A#FFFFFF#000000##FFFFFF
##185A2A1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185a2a;
/* rgb */ color: rgb(24, 90, 42);
/* oklch */ color: oklch(41.4% 0.102 148.7);
Tailwind
colors: {
  custom: {
    50: '#5f8964',
    500: '#185a2a',
    950: '#000000',
  },
}
SCSS
$custom: #185a2a;
$custom-light: #5f8964;
$custom-dark: #000000;
JSON
{
  "hex": "#185a2a",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 42
  },
  "hsl": {
    "h": 136.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.10173,
    "h": 148.7
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#185A2A
secondary
#913D7A
accent
#47B7E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #185A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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