#18511D#18511D

#18511D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.101 H 144.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#18511D
RGBrgb(24, 81, 29)
HSLhsl(125, 54%, 21%)
HSVhsv(125, 70%, 32%)
CMYKcmyk(70.4%, 0%, 64.2%, 68.2%)
CIE-LABlab(29.83, -30.56, 24.83)
CIE-LCHlch(29.83, 39.37, 140.91°)
OKLaboklab(38.49% -0.0827 0.0586)
OKLCHoklch(38.49% 0.101 144.7)
XYZxyz(3.5407, 6.1674, 2.1660)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18511D #51184C
analogous
#2F5118 #18511D #185139
triadic
#18511D #1D1851 #511D18
tetradic
#18511D #182F51 #51184C #513918
square
#18511D #182F51 #51184C #513918
split-complementary
#18511D #391851 #51182F
monochromatic
#071808 #0A220C #18511D #26802E #34AF3F

Accessibility & contrast

On white

9.40
#18511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18511D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18511D#FFFFFF#000000##FFFFFF
##18511D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534918
Deuteranopia (green-blind)
#4C4421
Tritanopia (blue-blind)
#0A4F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18511d;
/* rgb */ color: rgb(24, 81, 29);
/* oklch */ color: oklch(38.5% 0.101 144.7);
Tailwind
colors: {
  custom: {
    50: '#5d825b',
    500: '#18511d',
    950: '#000000',
  },
}
SCSS
$custom: #18511d;
$custom-light: #5d825b;
$custom-dark: #000000;
JSON
{
  "hex": "#18511d",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 125.263,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.10141,
    "h": 144.7
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#18511D
secondary
#883D81
accent
#4AD1DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #18511D

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

Preview Lab → · Contrast checker → · Palette generator →

#18511D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva