#185D21#185D21

#185D21 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.115 H 145.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#185D21
RGBrgb(24, 93, 33)
HSLhsl(128, 59%, 23%)
HSVhsv(128, 74%, 36%)
CMYKcmyk(74.2%, 0%, 64.5%, 63.5%)
CIE-LABlab(34.26, -34.87, 27.84)
CIE-LCHlch(34.26, 44.63, 141.39°)
OKLaboklab(42.17% -0.0942 0.0655)
OKLCHoklch(42.17% 0.115 145.2)
XYZxyz(4.5652, 8.1322, 2.7676)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185D21 #5D1854
analogous
#315D18 #185D21 #185D43
triadic
#185D21 #21185D #5D2118
tetradic
#185D21 #18315D #5D1854 #5D4318
square
#185D21 #18315D #5D1854 #5D4318
split-complementary
#185D21 #43185D #5D1831
monochromatic
#061809 #0B2C10 #185D21 #258E32 #31BE44

Accessibility & contrast

On white

8.00
#185D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#185D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185D21
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185D21#FFFFFF#000000##FFFFFF
##185D211.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#015A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #185d21;
/* rgb */ color: rgb(24, 93, 33);
/* oklch */ color: oklch(42.2% 0.115 145.2);
Tailwind
colors: {
  custom: {
    50: '#608c5f',
    500: '#185d21',
    950: '#000000',
  },
}
SCSS
$custom: #185d21;
$custom-light: #608c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#185d21",
  "rgb": {
    "r": 24,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 127.826,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.11478,
    "h": 145.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#185D21
secondary
#933D88
accent
#46CEE2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #185D21

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

Preview Lab → · Contrast checker → · Palette generator →

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