#18371C#18371C

#18371C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.5% C 0.060 H 146.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#18371C
RGBrgb(24, 55, 28)
HSLhsl(128, 39%, 15%)
HSVhsv(128, 56%, 22%)
CMYKcmyk(56.4%, 0%, 49.1%, 78.4%)
CIE-LABlab(20.09, -18.60, 13.47)
CIE-LCHlch(20.09, 22.97, 144.10°)
OKLaboklab(30.47% -0.0505 0.0332)
OKLCHoklch(30.47% 0.06 146.7)
XYZxyz(1.9524, 3.0103, 1.5765)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18371C #371833
analogous
#233718 #18371C #18372B
triadic
#18371C #1C1837 #371C18
tetradic
#18371C #182337 #371833 #372B18
square
#18371C #182337 #371833 #372B18
split-complementary
#18371C #2B1837 #371823
monochromatic
#09150B #09150B #18371C #2B6232 #3D8C47

Accessibility & contrast

On white

13.11
#18371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#18371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18371C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18371C#FFFFFF#000000##FFFFFF
##18371C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38321A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#133630
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18371c;
/* rgb */ color: rgb(24, 55, 28);
/* oklch */ color: oklch(30.5% 0.060 146.7);
Tailwind
colors: {
  custom: {
    50: '#576e58',
    500: '#18371c',
    950: '#000000',
  },
}
SCSS
$custom: #18371c;
$custom-light: #576e58;
$custom-dark: #000000;
JSON
{
  "hex": "#18371c",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 127.742,
    "s": 39.241,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30468,
    "c": 0.06047,
    "h": 146.7
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#18371C
secondary
#6D3E67
accent
#59C0CF
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #18371C

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

Preview Lab → · Contrast checker → · Palette generator →

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