#18562A#18562A

#18562A is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.096 H 149.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#18562A
RGBrgb(24, 86, 42)
HSLhsl(137, 56%, 22%)
HSVhsv(137, 72%, 34%)
CMYKcmyk(72.1%, 0%, 51.2%, 66.3%)
CIE-LABlab(31.84, -30.56, 19.96)
CIE-LCHlch(31.84, 36.50, 146.84°)
OKLaboklab(40.21% -0.0824 0.0488)
OKLCHoklch(40.21% 0.096 149.4)
XYZxyz(4.1221, 7.0165, 3.3271)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18562A #561844
analogous
#255618 #18562A #185649
triadic
#18562A #2A1856 #562A18
tetradic
#18562A #182556 #561844 #564918
square
#18562A #182556 #561844 #564918
split-complementary
#18562A #491856 #561825
monochromatic
#07180C #0B2613 #18562A #258641 #33B659

Accessibility & contrast

On white

8.74
#18562A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#18562A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18562A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18562A#FFFFFF#000000##FFFFFF
##18562A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E27
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#01544C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18562a;
/* rgb */ color: rgb(24, 86, 42);
/* oklch */ color: oklch(40.2% 0.096 149.4);
Tailwind
colors: {
  custom: {
    50: '#5e8664',
    500: '#18562a',
    950: '#000000',
  },
}
SCSS
$custom: #18562a;
$custom-light: #5e8664;
$custom-dark: #000000;
JSON
{
  "hex": "#18562a",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 137.419,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.09573,
    "h": 149.4
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#18562A
secondary
#8D3D76
accent
#48B4E0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18562A

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

Preview Lab → · Contrast checker → · Palette generator →

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