#18501F#18501F

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

Color values

HEX#18501F
RGBrgb(24, 80, 31)
HSLhsl(128, 54%, 20%)
HSVhsv(128, 70%, 31%)
CMYKcmyk(70%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.49, -29.84, 23.34)
CIE-LCHlch(29.49, 37.88, 141.98°)
OKLaboklab(38.21% -0.0807 0.0556)
OKLCHoklch(38.21% 0.098 145.5)
XYZxyz(3.4924, 6.0301, 2.2759)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18501F #501849
analogous
#2D5018 #18501F #18503B
triadic
#18501F #1F1850 #501F18
tetradic
#18501F #182D50 #501849 #503B18
square
#18501F #182D50 #501849 #503B18
split-complementary
#18501F #3B1850 #50182D
monochromatic
#071809 #0A210D #18501F #267F31 #34AE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18501F#FFFFFF#000000##FFFFFF
##18501F1.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)
#51481A
Deuteranopia (green-blind)
#4A4423
Tritanopia (blue-blind)
#094E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18501f;
/* rgb */ color: rgb(24, 80, 31);
/* oklch */ color: oklch(38.2% 0.098 145.5);
Tailwind
colors: {
  custom: {
    50: '#5d825c',
    500: '#18501f',
    950: '#000000',
  },
}
SCSS
$custom: #18501f;
$custom-light: #5d825c;
$custom-dark: #000000;
JSON
{
  "hex": "#18501f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 127.5,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.09798,
    "h": 145.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#18501F
secondary
#873D7E
accent
#4BCBDD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #18501F

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

Preview Lab → · Contrast checker → · Palette generator →

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