#18371F#18371F

#18371F is a dark, muted green. Relative luminance 0.030; OKLCH L 30.5% C 0.057 H 149.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#18371F
RGBrgb(24, 55, 31)
HSLhsl(134, 39%, 15%)
HSVhsv(134, 56%, 22%)
CMYKcmyk(56.4%, 0%, 43.6%, 78.4%)
CIE-LABlab(20.14, -17.99, 11.61)
CIE-LCHlch(20.14, 21.41, 147.17°)
OKLaboklab(30.54% -0.0489 0.029)
OKLCHoklch(30.54% 0.057 149.4)
XYZxyz(1.9901, 3.0253, 1.7751)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18371F #371830
analogous
#203718 #18371F #18372E
triadic
#18371F #1F1837 #371F18
tetradic
#18371F #182037 #371830 #372E18
square
#18371F #182037 #371830 #372E18
split-complementary
#18371F #2E1837 #371820
monochromatic
#09150C #09150C #18371F #2B6237 #3D8C4F

Accessibility & contrast

On white

13.08
#18371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#18371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18371F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18371F#FFFFFF#000000##FFFFFF
##18371F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#332F20
Tritanopia (blue-blind)
#123631
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18371f;
/* rgb */ color: rgb(24, 55, 31);
/* oklch */ color: oklch(30.5% 0.057 149.4);
Tailwind
colors: {
  custom: {
    50: '#576e5a',
    500: '#18371f',
    950: '#000000',
  },
}
SCSS
$custom: #18371f;
$custom-light: #576e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#18371f",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 133.548,
    "s": 39.241,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30537,
    "c": 0.05681,
    "h": 149.4
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#18371F
secondary
#6D3E62
accent
#59B4CF
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #18371F

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

Preview Lab → · Contrast checker → · Palette generator →

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