#18562D#18562D

#18562D is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.093 H 150.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#18562D
RGBrgb(24, 86, 45)
HSLhsl(140, 56%, 22%)
HSVhsv(140, 72%, 34%)
CMYKcmyk(72.1%, 0%, 47.7%, 66.3%)
CIE-LABlab(31.90, -29.99, 18.26)
CIE-LCHlch(31.90, 35.11, 148.66°)
OKLaboklab(40.27% -0.0809 0.045)
OKLCHoklch(40.27% 0.093 150.9)
XYZxyz(4.1778, 7.0388, 3.6206)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18562D #561841
analogous
#225618 #18562D #18564C
triadic
#18562D #2D1856 #562D18
tetradic
#18562D #182256 #561841 #564C18
square
#18562D #182256 #561841 #564C18
split-complementary
#18562D #4C1856 #561822
monochromatic
#07180D #0B2614 #18562D #258646 #33B65F

Accessibility & contrast

On white

8.72
#18562D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#18562D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18562D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18562D#FFFFFF#000000##FFFFFF
##18562D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2A
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18562d;
/* rgb */ color: rgb(24, 86, 45);
/* oklch */ color: oklch(40.3% 0.093 150.9);
Tailwind
colors: {
  custom: {
    50: '#5e8666',
    500: '#18562d',
    950: '#000000',
  },
}
SCSS
$custom: #18562d;
$custom-light: #5e8666;
$custom-dark: #000000;
JSON
{
  "hex": "#18562d",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 45
  },
  "hsl": {
    "h": 140.323,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.09254,
    "h": 150.9
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#18562D
secondary
#8D3D72
accent
#48ACE0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #18562D

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

Preview Lab → · Contrast checker → · Palette generator →

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