#18522C#18522C

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

Color values

HEX#18522C
RGBrgb(24, 82, 44)
HSLhsl(141, 55%, 21%)
HSVhsv(141, 71%, 32%)
CMYKcmyk(70.7%, 0%, 46.3%, 67.8%)
CIE-LABlab(30.42, -28.42, 16.96)
CIE-LCHlch(30.42, 33.09, 149.17°)
OKLaboklab(39.05% -0.0767 0.0419)
OKLCHoklch(39.05% 0.087 151.3)
XYZxyz(3.8483, 6.4102, 3.4169)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522C #52183E
analogous
#215218 #18522C #185249
triadic
#18522C #2C1852 #522C18
tetradic
#18522C #182152 #52183E #524918
square
#18522C #182152 #52183E #524918
split-complementary
#18522C #491852 #521821
monochromatic
#07180D #0A2313 #18522C #268145 #34B15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18522C#FFFFFF#000000##FFFFFF
##18522C1.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)
#524B29
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#025149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18522c;
/* rgb */ color: rgb(24, 82, 44);
/* oklch */ color: oklch(39.1% 0.087 151.3);
Tailwind
colors: {
  custom: {
    50: '#5d8365',
    500: '#18522c',
    950: '#000000',
  },
}
SCSS
$custom: #18522c;
$custom-light: #5d8365;
$custom-dark: #000000;
JSON
{
  "hex": "#18522c",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 140.69,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.08741,
    "h": 151.3
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#18522C
secondary
#893D6F
accent
#4AABDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18522C

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

Preview Lab → · Contrast checker → · Palette generator →

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