#18571A#18571A

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

Color values

HEX#18571A
RGBrgb(24, 87, 26)
HSLhsl(122, 57%, 22%)
HSVhsv(122, 72%, 34%)
CMYKcmyk(72.4%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.00, -33.39, 28.82)
CIE-LCHlch(32.00, 44.11, 139.20°)
OKLaboklab(40.27% -0.0906 0.0669)
OKLCHoklch(40.27% 0.113 143.6)
XYZxyz(3.9711, 7.0847, 2.1353)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18571A #571855
analogous
#365718 #18571A #18573A
triadic
#18571A #1A1857 #571A18
tetradic
#18571A #183657 #571855 #573A18
square
#18571A #183657 #571855 #573A18
split-complementary
#18571A #3A1857 #571836
monochromatic
#071807 #0B270C #18571A #258728 #32B737

Accessibility & contrast

On white

8.69
#18571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18571A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18571A#FFFFFF#000000##FFFFFF
##18571A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E12
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#08544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18571a;
/* rgb */ color: rgb(24, 87, 26);
/* oklch */ color: oklch(40.3% 0.113 143.6);
Tailwind
colors: {
  custom: {
    50: '#5f8759',
    500: '#18571a',
    950: '#000000',
  },
}
SCSS
$custom: #18571a;
$custom-light: #5f8759;
$custom-dark: #000000;
JSON
{
  "hex": "#18571a",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 121.905,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.11257,
    "h": 143.6
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#18571A
secondary
#8E3D8B
accent
#48DBE0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18571A

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

Preview Lab → · Contrast checker → · Palette generator →

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