#18522A#18522A

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

Color values

HEX#18522A
RGBrgb(24, 82, 42)
HSLhsl(139, 55%, 21%)
HSVhsv(139, 71%, 32%)
CMYKcmyk(70.7%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.39, -28.81, 18.11)
CIE-LCHlch(30.39, 34.03, 147.85°)
OKLaboklab(39.01% -0.0777 0.0445)
OKLCHoklch(39.01% 0.09 150.2)
XYZxyz(3.8116, 6.3955, 3.2236)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18522A #521840
analogous
#235218 #18522A #185247
triadic
#18522A #2A1852 #522A18
tetradic
#18522A #182352 #521840 #524718
square
#18522A #182352 #521840 #524718
split-complementary
#18522A #471852 #521823
monochromatic
#07180C #0A2312 #18522A #268142 #34B15A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18522A#FFFFFF#000000##FFFFFF
##18522A1.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)
#534B27
Deuteranopia (green-blind)
#4B462D
Tritanopia (blue-blind)
#035048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18522a;
/* rgb */ color: rgb(24, 82, 42);
/* oklch */ color: oklch(39.0% 0.090 150.2);
Tailwind
colors: {
  custom: {
    50: '#5d8364',
    500: '#18522a',
    950: '#000000',
  },
}
SCSS
$custom: #18522a;
$custom-light: #5d8364;
$custom-dark: #000000;
JSON
{
  "hex": "#18522a",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 138.621,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.08957,
    "h": 150.2
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#18522A
secondary
#893D71
accent
#4AB0DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18522A

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

Preview Lab → · Contrast checker → · Palette generator →

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