#18331C#18331C

#18331C is a dark, muted green. Relative luminance 0.026; OKLCH L 29.2% C 0.053 H 147.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#18331C
RGBrgb(24, 51, 28)
HSLhsl(129, 36%, 15%)
HSVhsv(129, 53%, 20%)
CMYKcmyk(52.9%, 0%, 45.1%, 80%)
CIE-LABlab(18.56, -16.46, 11.48)
CIE-LCHlch(18.56, 20.07, 145.09°)
OKLaboklab(29.23% -0.0447 0.0286)
OKLCHoklch(29.23% 0.053 147.4)
XYZxyz(1.7700, 2.6456, 1.5158)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18331C #33182F
analogous
#223318 #18331C #18332A
triadic
#18331C #1C1833 #331C18
tetradic
#18331C #182233 #33182F #332A18
square
#18331C #182233 #33182F #332A18
split-complementary
#18331C #2A1833 #331822
monochromatic
#0A150B #0A150B #18331C #2C5D33 #3F864A

Accessibility & contrast

On white

13.73
#18331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#18331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18331C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18331C#FFFFFF#000000##FFFFFF
##18331C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#14322D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18331c;
/* rgb */ color: rgb(24, 51, 28);
/* oklch */ color: oklch(29.2% 0.053 147.4);
Tailwind
colors: {
  custom: {
    50: '#576b58',
    500: '#18331c',
    950: '#000000',
  },
}
SCSS
$custom: #18331c;
$custom-light: #576b58;
$custom-dark: #000000;
JSON
{
  "hex": "#18331c",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 128.889,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.29227,
    "c": 0.0531,
    "h": 147.4
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#18331C
secondary
#683E62
accent
#5CBBCC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #18331C

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

Preview Lab → · Contrast checker → · Palette generator →

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