#185A31#185A31

#185A31 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.094 H 152.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#185A31
RGBrgb(24, 90, 49)
HSLhsl(143, 58%, 22%)
HSVhsv(143, 73%, 35%)
CMYKcmyk(73.3%, 0%, 45.6%, 64.7%)
CIE-LABlab(33.41, -30.93, 17.85)
CIE-LCHlch(33.41, 35.72, 150.01°)
OKLaboklab(41.54% -0.0834 0.0442)
OKLCHoklch(41.54% 0.094 152.1)
XYZxyz(4.5868, 7.7278, 4.1550)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A31 #5A1841
analogous
#205A18 #185A31 #185A52
triadic
#185A31 #31185A #5A3118
tetradic
#185A31 #18205A #5A1841 #5A5218
square
#185A31 #18205A #5A1841 #5A5218
split-complementary
#185A31 #52185A #5A1820
monochromatic
#06180D #0B2A17 #185A31 #258A4B #32BB66

Accessibility & contrast

On white

8.25
#185A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#185A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185A31
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A31#FFFFFF#000000##FFFFFF
##185A311.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522E
Deuteranopia (green-blind)
#524C34
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185a31;
/* rgb */ color: rgb(24, 90, 49);
/* oklch */ color: oklch(41.5% 0.094 152.1);
Tailwind
colors: {
  custom: {
    50: '#5f8969',
    500: '#185a31',
    950: '#000000',
  },
}
SCSS
$custom: #185a31;
$custom-light: #5f8969;
$custom-dark: #000000;
JSON
{
  "hex": "#185a31",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 142.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.09439,
    "h": 152.1
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#185A31
secondary
#913D71
accent
#47A7E1
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #185A31

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

Preview Lab → · Contrast checker → · Palette generator →

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