#18521A#18521A

#18521A is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.106 H 143.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#18521A
RGBrgb(24, 82, 26)
HSLhsl(122, 55%, 21%)
HSVhsv(122, 71%, 32%)
CMYKcmyk(70.7%, 0%, 68.3%, 67.8%)
CIE-LABlab(30.16, -31.38, 26.78)
CIE-LCHlch(30.16, 41.25, 139.52°)
OKLaboklab(38.75% -0.0851 0.0625)
OKLCHoklch(38.75% 0.106 143.7)
XYZxyz(3.5802, 6.3030, 2.0050)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18521A #521850
analogous
#335218 #18521A #185237
triadic
#18521A #1A1852 #521A18
tetradic
#18521A #183352 #521850 #523718
square
#18521A #183352 #521850 #523718
split-complementary
#18521A #371852 #521833
monochromatic
#071808 #0A230B #18521A #268129 #34B138

Accessibility & contrast

On white

9.29
#18521A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18521A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18521A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18521A#FFFFFF#000000##FFFFFF
##18521A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#4D451F
Tritanopia (blue-blind)
#0A5046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18521a;
/* rgb */ color: rgb(24, 82, 26);
/* oklch */ color: oklch(38.8% 0.106 143.7);
Tailwind
colors: {
  custom: {
    50: '#5e8359',
    500: '#18521a',
    950: '#000000',
  },
}
SCSS
$custom: #18521a;
$custom-light: #5e8359;
$custom-dark: #000000;
JSON
{
  "hex": "#18521a",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 26
  },
  "hsl": {
    "h": 122.069,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.10559,
    "h": 143.7
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#18521A
secondary
#893D86
accent
#4AD9DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #18521A

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

Preview Lab → · Contrast checker → · Palette generator →

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