#18501B#18501B

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

Color values

HEX#18501B
RGBrgb(24, 80, 27)
HSLhsl(123, 54%, 20%)
HSVhsv(123, 70%, 31%)
CMYKcmyk(70%, 0%, 66.3%, 68.6%)
CIE-LABlab(29.44, -30.42, 25.44)
CIE-LCHlch(29.44, 39.65, 140.09°)
OKLaboklab(38.16% -0.0824 0.0597)
OKLCHoklch(38.16% 0.102 144.1)
XYZxyz(3.4430, 6.0103, 2.0154)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18501B #50184D
analogous
#315018 #18501B #185037
triadic
#18501B #1B1850 #501B18
tetradic
#18501B #183150 #50184D #503718
square
#18501B #183150 #50184D #503718
split-complementary
#18501B #371850 #501831
monochromatic
#071808 #0A210B #18501B #267F2B #34AE3B

Accessibility & contrast

On white

9.54
#18501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18501B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18501B#FFFFFF#000000##FFFFFF
##18501B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18501b;
/* rgb */ color: rgb(24, 80, 27);
/* oklch */ color: oklch(38.2% 0.102 144.1);
Tailwind
colors: {
  custom: {
    50: '#5d8259',
    500: '#18501b',
    950: '#000000',
  },
}
SCSS
$custom: #18501b;
$custom-light: #5d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#18501b",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 123.214,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.10182,
    "h": 144.1
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#18501B
secondary
#873D83
accent
#4BD5DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #18501B

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

Preview Lab → · Contrast checker → · Palette generator →

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