#18521E#18521E

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

Color values

HEX#18521E
RGBrgb(24, 82, 30)
HSLhsl(126, 55%, 21%)
HSVhsv(126, 71%, 32%)
CMYKcmyk(70.7%, 0%, 63.4%, 67.8%)
CIE-LABlab(30.21, -30.83, 24.73)
CIE-LCHlch(30.21, 39.53, 141.26°)
OKLaboklab(38.81% -0.0834 0.0585)
OKLCHoklch(38.81% 0.102 145)
XYZxyz(3.6281, 6.3221, 2.2571)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18521E #52184C
analogous
#2F5218 #18521E #18523B
triadic
#18521E #1E1852 #521E18
tetradic
#18521E #182F52 #52184C #523B18
square
#18521E #182F52 #52184C #523B18
split-complementary
#18521E #3B1852 #52182F
monochromatic
#071809 #0A230D #18521E #26812F #34B141

Accessibility & contrast

On white

9.27
#18521E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18521E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18521E#FFFFFF#000000##FFFFFF
##18521E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A19
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#095047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18521e;
/* rgb */ color: rgb(24, 82, 30);
/* oklch */ color: oklch(38.8% 0.102 145.0);
Tailwind
colors: {
  custom: {
    50: '#5d835c',
    500: '#18521e',
    950: '#000000',
  },
}
SCSS
$custom: #18521e;
$custom-light: #5d835c;
$custom-dark: #000000;
JSON
{
  "hex": "#18521e",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 30
  },
  "hsl": {
    "h": 126.207,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.10192,
    "h": 145
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#18521E
secondary
#893D81
accent
#4ACFDE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18521E

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

Preview Lab → · Contrast checker → · Palette generator →

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