#185A38#185A38

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

Color values

HEX#185A38
RGBrgb(24, 90, 56)
HSLhsl(149, 58%, 22%)
HSVhsv(149, 73%, 35%)
CMYKcmyk(73.3%, 0%, 37.8%, 64.7%)
CIE-LABlab(33.54, -29.43, 13.83)
CIE-LCHlch(33.54, 32.52, 154.83°)
OKLaboklab(41.7% -0.0798 0.0348)
OKLCHoklch(41.7% 0.087 156.4)
XYZxyz(4.7462, 7.7915, 4.9944)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A38 #5A183A
analogous
#195A18 #185A38 #185A59
triadic
#185A38 #38185A #5A3818
tetradic
#185A38 #18195A #5A183A #5A5918
square
#185A38 #18195A #5A183A #5A5918
split-complementary
#185A38 #59185A #5A1819
monochromatic
#06180F #0B2A1A #185A38 #258A56 #32BB74

Accessibility & contrast

On white

8.21
#185A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#185A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A38
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A38#FFFFFF#000000##FFFFFF
##185A381.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#514C3A
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185a38;
/* rgb */ color: rgb(24, 90, 56);
/* oklch */ color: oklch(41.7% 0.087 156.4);
Tailwind
colors: {
  custom: {
    50: '#5f896f',
    500: '#185a38',
    950: '#000000',
  },
}
SCSS
$custom: #185a38;
$custom-light: #5f896f;
$custom-dark: #000000;
JSON
{
  "hex": "#185a38",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 56
  },
  "hsl": {
    "h": 149.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.08701,
    "h": 156.4
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#185A38
secondary
#913D68
accent
#4796E1
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #185A38

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

Preview Lab → · Contrast checker → · Palette generator →

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