#18522D#18522D

#18522D is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.086 H 151.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#18522D
RGBrgb(24, 82, 45)
HSLhsl(142, 55%, 21%)
HSVhsv(142, 71%, 32%)
CMYKcmyk(70.7%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.44, -28.21, 16.38)
CIE-LCHlch(30.44, 32.62, 149.86°)
OKLaboklab(39.07% -0.0762 0.0406)
OKLCHoklch(39.07% 0.086 151.9)
XYZxyz(3.8673, 6.4178, 3.5171)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522D #52183D
analogous
#205218 #18522D #18524A
triadic
#18522D #2D1852 #522D18
tetradic
#18522D #182052 #52183D #524A18
square
#18522D #182052 #52183D #524A18
split-complementary
#18522D #4A1852 #521820
monochromatic
#07180D #0A2313 #18522D #268147 #34B161

Accessibility & contrast

On white

9.20
#18522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18522D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18522D#FFFFFF#000000##FFFFFF
##18522D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2A
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#015149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18522d;
/* rgb */ color: rgb(24, 82, 45);
/* oklch */ color: oklch(39.1% 0.086 151.9);
Tailwind
colors: {
  custom: {
    50: '#5d8366',
    500: '#18522d',
    950: '#000000',
  },
}
SCSS
$custom: #18522d;
$custom-light: #5d8366;
$custom-dark: #000000;
JSON
{
  "hex": "#18522d",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 141.724,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.08632,
    "h": 151.9
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#18522D
secondary
#893D6D
accent
#4AA8DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #18522D

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

Preview Lab → · Contrast checker → · Palette generator →

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