#18521C#18521C

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

Color values

HEX#18521C
RGBrgb(24, 82, 28)
HSLhsl(124, 55%, 21%)
HSVhsv(124, 71%, 32%)
CMYKcmyk(70.7%, 0%, 65.9%, 67.8%)
CIE-LABlab(30.19, -31.11, 25.77)
CIE-LCHlch(30.19, 40.40, 140.37°)
OKLaboklab(38.78% -0.0843 0.0606)
OKLCHoklch(38.78% 0.104 144.3)
XYZxyz(3.6034, 6.3123, 2.1269)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18521C #52184E
analogous
#315218 #18521C #185239
triadic
#18521C #1C1852 #521C18
tetradic
#18521C #183152 #52184E #523918
square
#18521C #183152 #52184E #523918
split-complementary
#18521C #391852 #521831
monochromatic
#071808 #0A230C #18521C #26812C #34B13C

Accessibility & contrast

On white

9.28
#18521C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18521C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18521C#FFFFFF#000000##FFFFFF
##18521C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18521c;
/* rgb */ color: rgb(24, 82, 28);
/* oklch */ color: oklch(38.8% 0.104 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e835a',
    500: '#18521c',
    950: '#000000',
  },
}
SCSS
$custom: #18521c;
$custom-light: #5e835a;
$custom-dark: #000000;
JSON
{
  "hex": "#18521c",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 28
  },
  "hsl": {
    "h": 124.138,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38779,
    "c": 0.10379,
    "h": 144.3
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#18521C
secondary
#893D84
accent
#4AD4DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18521C

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

Preview Lab → · Contrast checker → · Palette generator →

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