#185D28#185D28

#185D28 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.108 H 147.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#185D28
RGBrgb(24, 93, 40)
HSLhsl(134, 59%, 23%)
HSVhsv(134, 74%, 36%)
CMYKcmyk(74.2%, 0%, 57%, 63.5%)
CIE-LABlab(34.35, -33.83, 24.20)
CIE-LCHlch(34.35, 41.60, 144.42°)
OKLaboklab(42.27% -0.0912 0.0582)
OKLCHoklch(42.27% 0.108 147.5)
XYZxyz(4.6737, 8.1756, 3.3388)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D28 #5D184D
analogous
#2A5D18 #185D28 #185D4A
triadic
#185D28 #28185D #5D2818
tetradic
#185D28 #182A5D #5D184D #5D4A18
square
#185D28 #182A5D #5D184D #5D4A18
split-complementary
#185D28 #4A185D #5D182A
monochromatic
#06180A #0B2C13 #185D28 #258E3D #31BE52

Accessibility & contrast

On white

7.97
#185D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#185D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185D28
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185D28#FFFFFF#000000##FFFFFF
##185D281.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564E2C
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185d28;
/* rgb */ color: rgb(24, 93, 40);
/* oklch */ color: oklch(42.3% 0.108 147.5);
Tailwind
colors: {
  custom: {
    50: '#608c63',
    500: '#185d28',
    950: '#000000',
  },
}
SCSS
$custom: #185d28;
$custom-light: #608c63;
$custom-dark: #000000;
JSON
{
  "hex": "#185d28",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 40
  },
  "hsl": {
    "h": 133.913,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.10814,
    "h": 147.5
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#185D28
secondary
#933D80
accent
#46BEE2
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #185D28

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

Preview Lab → · Contrast checker → · Palette generator →

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