#185E31#185E31

#185E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.100 H 151.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#185E31
RGBrgb(24, 94, 49)
HSLhsl(141, 59%, 23%)
HSVhsv(141, 74%, 37%)
CMYKcmyk(74.5%, 0%, 47.9%, 63.1%)
CIE-LABlab(34.84, -32.64, 19.71)
CIE-LCHlch(34.84, 38.13, 148.88°)
OKLaboklab(42.72% -0.0879 0.0485)
OKLCHoklch(42.72% 0.1 151.1)
XYZxyz(4.9334, 8.4208, 4.2705)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185E31 #5E1845
analogous
#225E18 #185E31 #185E54
triadic
#185E31 #31185E #5E3118
tetradic
#185E31 #18225E #5E1845 #5E5418
square
#185E31 #18225E #5E1845 #5E5418
split-complementary
#185E31 #54185E #5E1822
monochromatic
#06180D #0C2D18 #185E31 #248F4A #31C064

Accessibility & contrast

On white

7.82
#185E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#185E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185E31
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185E31#FFFFFF#000000##FFFFFF
##185E311.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E562E
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185e31;
/* rgb */ color: rgb(24, 94, 49);
/* oklch */ color: oklch(42.7% 0.100 151.1);
Tailwind
colors: {
  custom: {
    50: '#608c6a',
    500: '#185e31',
    950: '#000000',
  },
}
SCSS
$custom: #185e31;
$custom-light: #608c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#185e31",
  "rgb": {
    "r": 24,
    "g": 94,
    "b": 49
  },
  "hsl": {
    "h": 141.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.10042,
    "h": 151.1
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#185E31
secondary
#943D75
accent
#45AAE3
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #185E31

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

Preview Lab → · Contrast checker → · Palette generator →

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