#185A28#185A28

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

Color values

HEX#185A28
RGBrgb(24, 90, 40)
HSLhsl(135, 58%, 22%)
HSVhsv(135, 73%, 35%)
CMYKcmyk(73.3%, 0%, 55.6%, 64.7%)
CIE-LABlab(33.26, -32.60, 22.88)
CIE-LCHlch(33.26, 39.82, 144.94°)
OKLaboklab(41.37% -0.0879 0.0552)
OKLCHoklch(41.37% 0.104 147.9)
XYZxyz(4.4155, 7.6592, 3.2528)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185A28 #5A184A
analogous
#295A18 #185A28 #185A49
triadic
#185A28 #28185A #5A2818
tetradic
#185A28 #18295A #5A184A #5A4918
square
#185A28 #18295A #5A184A #5A4918
split-complementary
#185A28 #49185A #5A1829
monochromatic
#06180B #0B2A13 #185A28 #258A3D #32BB53

Accessibility & contrast

On white

8.29
#185A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185A28
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185A28#FFFFFF#000000##FFFFFF
##185A281.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185a28;
/* rgb */ color: rgb(24, 90, 40);
/* oklch */ color: oklch(41.4% 0.104 147.9);
Tailwind
colors: {
  custom: {
    50: '#5f8963',
    500: '#185a28',
    950: '#000000',
  },
}
SCSS
$custom: #185a28;
$custom-light: #5f8963;
$custom-dark: #000000;
JSON
{
  "hex": "#185a28",
  "rgb": {
    "r": 24,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 134.545,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.10377,
    "h": 147.9
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#185A28
secondary
#913D7C
accent
#47BCE1
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #185A28

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

Preview Lab → · Contrast checker → · Palette generator →

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