#18522E#18522E

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

Color values

HEX#18522E
RGBrgb(24, 82, 46)
HSLhsl(143, 55%, 21%)
HSVhsv(143, 71%, 32%)
CMYKcmyk(70.7%, 0%, 43.9%, 67.8%)
CIE-LABlab(30.46, -28.00, 15.80)
CIE-LCHlch(30.46, 32.15, 150.57°)
OKLaboklab(39.1% -0.0757 0.0393)
OKLCHoklch(39.1% 0.085 152.6)
XYZxyz(3.8868, 6.4256, 3.6197)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522E #52183C
analogous
#1F5218 #18522E #18524B
triadic
#18522E #2E1852 #522E18
tetradic
#18522E #181F52 #52183C #524B18
square
#18522E #181F52 #52183C #524B18
split-complementary
#18522E #4B1852 #52181F
monochromatic
#07180D #0A2313 #18522E #268149 #34B163

Accessibility & contrast

On white

9.19
#18522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#18522E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18522E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18522E#FFFFFF#000000##FFFFFF
##18522E1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18522e;
/* rgb */ color: rgb(24, 82, 46);
/* oklch */ color: oklch(39.1% 0.085 152.6);
Tailwind
colors: {
  custom: {
    50: '#5d8367',
    500: '#18522e',
    950: '#000000',
  },
}
SCSS
$custom: #18522e;
$custom-light: #5d8367;
$custom-dark: #000000;
JSON
{
  "hex": "#18522e",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 142.759,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.08524,
    "h": 152.6
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#18522E
secondary
#893D6C
accent
#4AA6DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #18522E

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

Preview Lab → · Contrast checker → · Palette generator →

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