#18522F#18522F

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

Color values

HEX#18522F
RGBrgb(24, 82, 47)
HSLhsl(144, 55%, 21%)
HSVhsv(144, 71%, 32%)
CMYKcmyk(70.7%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.48, -27.79, 15.22)
CIE-LCHlch(30.48, 31.69, 151.30°)
OKLaboklab(39.12% -0.0751 0.0379)
OKLCHoklch(39.12% 0.084 153.2)
XYZxyz(3.9067, 6.4336, 3.7247)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522F #52183B
analogous
#1E5218 #18522F #18524C
triadic
#18522F #2F1852 #522F18
tetradic
#18522F #181E52 #52183B #524C18
square
#18522F #181E52 #52183B #524C18
split-complementary
#18522F #4C1852 #52181E
monochromatic
#07180E #0A2314 #18522F #26814A #34B165

Accessibility & contrast

On white

9.18
#18522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18522F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18522F#FFFFFF#000000##FFFFFF
##18522F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18522f;
/* rgb */ color: rgb(24, 82, 47);
/* oklch */ color: oklch(39.1% 0.084 153.2);
Tailwind
colors: {
  custom: {
    50: '#5d8368',
    500: '#18522f',
    950: '#000000',
  },
}
SCSS
$custom: #18522f;
$custom-light: #5d8368;
$custom-dark: #000000;
JSON
{
  "hex": "#18522f",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 143.793,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.08415,
    "h": 153.2
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#18522F
secondary
#893D6B
accent
#4AA3DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #18522F

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

Preview Lab → · Contrast checker → · Palette generator →

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