#18562F#18562F

#18562F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.090 H 152.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#18562F
RGBrgb(24, 86, 47)
HSLhsl(142, 56%, 22%)
HSVhsv(142, 72%, 34%)
CMYKcmyk(72.1%, 0%, 45.3%, 66.3%)
CIE-LABlab(31.93, -29.59, 17.12)
CIE-LCHlch(31.93, 34.18, 149.95°)
OKLaboklab(40.31% -0.0798 0.0424)
OKLCHoklch(40.31% 0.09 152)
XYZxyz(4.2172, 7.0546, 3.8282)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18562F #56183F
analogous
#205618 #18562F #18564E
triadic
#18562F #2F1856 #562F18
tetradic
#18562F #182056 #56183F #564E18
square
#18562F #182056 #56183F #564E18
split-complementary
#18562F #4E1856 #561820
monochromatic
#07180D #0B2615 #18562F #258649 #33B663

Accessibility & contrast

On white

8.71
#18562F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18562F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18562F#FFFFFF#000000##FFFFFF
##18562F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18562f;
/* rgb */ color: rgb(24, 86, 47);
/* oklch */ color: oklch(40.3% 0.090 152.0);
Tailwind
colors: {
  custom: {
    50: '#5e8668',
    500: '#18562f',
    950: '#000000',
  },
}
SCSS
$custom: #18562f;
$custom-light: #5e8668;
$custom-dark: #000000;
JSON
{
  "hex": "#18562f",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 47
  },
  "hsl": {
    "h": 142.258,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.0904,
    "h": 152
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#18562F
secondary
#8D3D6F
accent
#48A7E0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #18562F

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

Preview Lab → · Contrast checker → · Palette generator →

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