#18571D#18571D

#18571D is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.110 H 144.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#18571D
RGBrgb(24, 87, 29)
HSLhsl(125, 57%, 22%)
HSVhsv(125, 72%, 34%)
CMYKcmyk(72.4%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.03, -33.02, 27.36)
CIE-LCHlch(32.03, 42.88, 140.36°)
OKLaboklab(40.31% -0.0894 0.0641)
OKLCHoklch(40.31% 0.11 144.4)
XYZxyz(4.0064, 7.0989, 2.3212)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18571D #571852
analogous
#335718 #18571D #18573D
triadic
#18571D #1D1857 #571D18
tetradic
#18571D #183357 #571852 #573D18
square
#18571D #183357 #571852 #573D18
split-complementary
#18571D #3D1857 #571833
monochromatic
#071808 #0B270D #18571D #25872D #32B73D

Accessibility & contrast

On white

8.68
#18571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#18571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18571D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18571D#FFFFFF#000000##FFFFFF
##18571D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#06554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18571d;
/* rgb */ color: rgb(24, 87, 29);
/* oklch */ color: oklch(40.3% 0.110 144.4);
Tailwind
colors: {
  custom: {
    50: '#5f875b',
    500: '#18571d',
    950: '#000000',
  },
}
SCSS
$custom: #18571d;
$custom-light: #5f875b;
$custom-dark: #000000;
JSON
{
  "hex": "#18571d",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 124.762,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.10999,
    "h": 144.4
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#18571D
secondary
#8E3D87
accent
#48D4E0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18571D

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

Preview Lab → · Contrast checker → · Palette generator →

#18571D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva