#18501E#18501E

#18501E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.099 H 145.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#18501E
RGBrgb(24, 80, 30)
HSLhsl(126, 54%, 20%)
HSVhsv(126, 70%, 31%)
CMYKcmyk(70%, 0%, 62.5%, 68.6%)
CIE-LABlab(29.48, -29.99, 23.87)
CIE-LCHlch(29.48, 38.33, 141.49°)
OKLaboklab(38.2% -0.0812 0.0566)
OKLCHoklch(38.2% 0.099 145.1)
XYZxyz(3.4795, 6.0249, 2.2076)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18501E #50184A
analogous
#2E5018 #18501E #18503A
triadic
#18501E #1E1850 #501E18
tetradic
#18501E #182E50 #50184A #503A18
square
#18501E #182E50 #50184A #503A18
split-complementary
#18501E #3A1850 #50182E
monochromatic
#071809 #0A210C #18501E #267F30 #34AE41

Accessibility & contrast

On white

9.52
#18501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#18501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18501E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18501E#FFFFFF#000000##FFFFFF
##18501E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514819
Deuteranopia (green-blind)
#4B4422
Tritanopia (blue-blind)
#0A4E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18501e;
/* rgb */ color: rgb(24, 80, 30);
/* oklch */ color: oklch(38.2% 0.099 145.1);
Tailwind
colors: {
  custom: {
    50: '#5d825b',
    500: '#18501e',
    950: '#000000',
  },
}
SCSS
$custom: #18501e;
$custom-light: #5d825b;
$custom-dark: #000000;
JSON
{
  "hex": "#18501e",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 126.429,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.09897,
    "h": 145.1
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#18501E
secondary
#873D7F
accent
#4BCEDD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #18501E

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

Preview Lab → · Contrast checker → · Palette generator →

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