#18571B#18571B

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

Color values

HEX#18571B
RGBrgb(24, 87, 27)
HSLhsl(123, 57%, 22%)
HSVhsv(123, 72%, 34%)
CMYKcmyk(72.4%, 0%, 69%, 65.9%)
CIE-LABlab(32.01, -33.27, 28.34)
CIE-LCHlch(32.01, 43.71, 139.58°)
OKLaboklab(40.28% -0.0902 0.066)
OKLCHoklch(40.28% 0.112 143.8)
XYZxyz(3.9825, 7.0893, 2.1952)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18571B #571854
analogous
#355718 #18571B #18573B
triadic
#18571B #1B1857 #571B18
tetradic
#18571B #183557 #571854 #573B18
square
#18571B #183557 #571854 #573B18
split-complementary
#18571B #3B1857 #571835
monochromatic
#071807 #0B270C #18571B #25872A #32B739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18571B#FFFFFF#000000##FFFFFF
##18571B1.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)
#594E14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#07544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18571b;
/* rgb */ color: rgb(24, 87, 27);
/* oklch */ color: oklch(40.3% 0.112 143.8);
Tailwind
colors: {
  custom: {
    50: '#5f875a',
    500: '#18571b',
    950: '#000000',
  },
}
SCSS
$custom: #18571b;
$custom-light: #5f875a;
$custom-dark: #000000;
JSON
{
  "hex": "#18571b",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 122.857,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.11173,
    "h": 143.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#18571B
secondary
#8E3D8A
accent
#48D9E0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18571B

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

Preview Lab → · Contrast checker → · Palette generator →

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