#18501C#18501C

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

Color values

HEX#18501C
RGBrgb(24, 80, 28)
HSLhsl(124, 54%, 20%)
HSVhsv(124, 70%, 31%)
CMYKcmyk(70%, 0%, 65%, 68.6%)
CIE-LABlab(29.45, -30.28, 24.92)
CIE-LCHlch(29.45, 39.22, 140.55°)
OKLaboklab(38.17% -0.082 0.0587)
OKLCHoklch(38.17% 0.101 144.4)
XYZxyz(3.4547, 6.0150, 2.0773)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18501C #50184C
analogous
#305018 #18501C #185038
triadic
#18501C #1C1850 #501C18
tetradic
#18501C #183050 #50184C #503818
square
#18501C #183050 #50184C #503818
split-complementary
#18501C #381850 #501830
monochromatic
#071808 #0A210C #18501C #267F2C #34AE3D

Accessibility & contrast

On white

9.53
#18501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#18501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18501C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18501C#FFFFFF#000000##FFFFFF
##18501C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524817
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#0B4E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18501c;
/* rgb */ color: rgb(24, 80, 28);
/* oklch */ color: oklch(38.2% 0.101 144.4);
Tailwind
colors: {
  custom: {
    50: '#5d825a',
    500: '#18501c',
    950: '#000000',
  },
}
SCSS
$custom: #18501c;
$custom-light: #5d825a;
$custom-dark: #000000;
JSON
{
  "hex": "#18501c",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 124.286,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38171,
    "c": 0.10089,
    "h": 144.4
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#18501C
secondary
#873D82
accent
#4BD3DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #18501C

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

Preview Lab → · Contrast checker → · Palette generator →

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