#18571E#18571E

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

Color values

HEX#18571E
RGBrgb(24, 87, 30)
HSLhsl(126, 57%, 22%)
HSVhsv(126, 72%, 34%)
CMYKcmyk(72.4%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.04, -32.89, 26.85)
CIE-LCHlch(32.04, 42.46, 140.77°)
OKLaboklab(40.32% -0.089 0.0631)
OKLCHoklch(40.32% 0.109 144.7)
XYZxyz(4.0190, 7.1039, 2.3874)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18571E #571851
analogous
#325718 #18571E #18573E
triadic
#18571E #1E1857 #571E18
tetradic
#18571E #183257 #571851 #573E18
square
#18571E #183257 #571851 #573E18
split-complementary
#18571E #3E1857 #571832
monochromatic
#071808 #0B270D #18571E #25872F #32B73F

Accessibility & contrast

On white

8.67
#18571E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18571E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18571E#FFFFFF#000000##FFFFFF
##18571E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18571e;
/* rgb */ color: rgb(24, 87, 30);
/* oklch */ color: oklch(40.3% 0.109 144.7);
Tailwind
colors: {
  custom: {
    50: '#5f875c',
    500: '#18571e',
    950: '#000000',
  },
}
SCSS
$custom: #18571e;
$custom-light: #5f875c;
$custom-dark: #000000;
JSON
{
  "hex": "#18571e",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 125.714,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40321,
    "c": 0.10909,
    "h": 144.7
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#18571E
secondary
#8E3D86
accent
#48D2E0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18571E

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

Preview Lab → · Contrast checker → · Palette generator →

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