#18381F#18381F

#18381F is a dark, muted green. Relative luminance 0.031; OKLCH L 30.8% C 0.059 H 149.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#18381F
RGBrgb(24, 56, 31)
HSLhsl(133, 40%, 16%)
HSVhsv(133, 57%, 22%)
CMYKcmyk(57.1%, 0%, 44.6%, 78%)
CIE-LABlab(20.52, -18.52, 12.11)
CIE-LCHlch(20.52, 22.12, 146.82°)
OKLaboklab(30.85% -0.0503 0.0301)
OKLCHoklch(30.85% 0.059 149.1)
XYZxyz(2.0381, 3.1213, 1.7911)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18381F #381831
analogous
#213818 #18381F #18382F
triadic
#18381F #1F1838 #381F18
tetradic
#18381F #182138 #381831 #382F18
square
#18381F #182138 #381831 #382F18
split-complementary
#18381F #2F1838 #381821
monochromatic
#09150C #09150C #18381F #2A6337 #3D8E4E

Accessibility & contrast

On white

12.93
#18381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#18381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18381F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18381F#FFFFFF#000000##FFFFFF
##18381F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#343021
Tritanopia (blue-blind)
#123732
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18381f;
/* rgb */ color: rgb(24, 56, 31);
/* oklch */ color: oklch(30.8% 0.059 149.1);
Tailwind
colors: {
  custom: {
    50: '#586f5a',
    500: '#18381f',
    950: '#000000',
  },
}
SCSS
$custom: #18381f;
$custom-light: #586f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#18381f",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 133.125,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.05864,
    "h": 149.1
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#18381F
secondary
#6E3E63
accent
#58B6D0
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #18381F

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

Preview Lab → · Contrast checker → · Palette generator →

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