#18522B#18522B

#18522B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.088 H 150.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#18522B
RGBrgb(24, 82, 43)
HSLhsl(140, 55%, 21%)
HSVhsv(140, 71%, 32%)
CMYKcmyk(70.7%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.41, -28.62, 17.54)
CIE-LCHlch(30.41, 33.56, 148.50°)
OKLaboklab(39.03% -0.0772 0.0432)
OKLCHoklch(39.03% 0.088 150.8)
XYZxyz(3.8297, 6.4028, 3.3191)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522B #52183F
analogous
#225218 #18522B #185248
triadic
#18522B #2B1852 #522B18
tetradic
#18522B #182252 #52183F #524818
square
#18522B #182252 #52183F #524818
split-complementary
#18522B #481852 #521822
monochromatic
#07180C #0A2312 #18522B #268144 #34B15D

Accessibility & contrast

On white

9.21
#18522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18522B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18522B#FFFFFF#000000##FFFFFF
##18522B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B28
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#025149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18522b;
/* rgb */ color: rgb(24, 82, 43);
/* oklch */ color: oklch(39.0% 0.088 150.8);
Tailwind
colors: {
  custom: {
    50: '#5d8365',
    500: '#18522b',
    950: '#000000',
  },
}
SCSS
$custom: #18522b;
$custom-light: #5d8365;
$custom-dark: #000000;
JSON
{
  "hex": "#18522b",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 139.655,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.08849,
    "h": 150.8
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#18522B
secondary
#893D70
accent
#4AADDE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18522B

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

Preview Lab → · Contrast checker → · Palette generator →

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