#18552A#18552A

#18552A is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.094 H 149.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#18552A
RGBrgb(24, 85, 42)
HSLhsl(138, 56%, 21%)
HSVhsv(138, 72%, 33%)
CMYKcmyk(71.8%, 0%, 50.6%, 66.7%)
CIE-LABlab(31.48, -30.12, 19.50)
CIE-LCHlch(31.48, 35.89, 147.08°)
OKLaboklab(39.91% -0.0812 0.0477)
OKLCHoklch(39.91% 0.094 149.6)
XYZxyz(4.0428, 6.8579, 3.3007)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18552A #551843
analogous
#255518 #18552A #185549
triadic
#18552A #2A1855 #552A18
tetradic
#18552A #182555 #551843 #554918
square
#18552A #182555 #551843 #554918
split-complementary
#18552A #491855 #551825
monochromatic
#07180C #0B2512 #18552A #258542 #33B459

Accessibility & contrast

On white

8.85
#18552A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#18552A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18552A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18552A#FFFFFF#000000##FFFFFF
##18552A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#01534B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18552a;
/* rgb */ color: rgb(24, 85, 42);
/* oklch */ color: oklch(39.9% 0.094 149.6);
Tailwind
colors: {
  custom: {
    50: '#5e8564',
    500: '#18552a',
    950: '#000000',
  },
}
SCSS
$custom: #18552a;
$custom-light: #5e8564;
$custom-dark: #000000;
JSON
{
  "hex": "#18552a",
  "rgb": {
    "r": 24,
    "g": 85,
    "b": 42
  },
  "hsl": {
    "h": 137.705,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.0942,
    "h": 149.6
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#18552A
secondary
#8C3D75
accent
#49B3DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18552A

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

Preview Lab → · Contrast checker → · Palette generator →

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