#18331B#18331B

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

Color values

HEX#18331B
RGBrgb(24, 51, 27)
HSLhsl(127, 36%, 15%)
HSVhsv(127, 53%, 20%)
CMYKcmyk(52.9%, 0%, 47.1%, 80%)
CIE-LABlab(18.54, -16.66, 12.11)
CIE-LCHlch(18.54, 20.60, 143.99°)
OKLaboklab(29.2% -0.0453 0.03)
OKLCHoklch(29.2% 0.054 146.5)
XYZxyz(1.7582, 2.6409, 1.4538)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18331B #331830
analogous
#233318 #18331B #183329
triadic
#18331B #1B1833 #331B18
tetradic
#18331B #182333 #331830 #332918
square
#18331B #182333 #331830 #332918
split-complementary
#18331B #291833 #331823
monochromatic
#0A150B #0A150B #18331B #2C5D31 #3F8647

Accessibility & contrast

On white

13.74
#18331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18331B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18331B#FFFFFF#000000##FFFFFF
##18331B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18331b;
/* rgb */ color: rgb(24, 51, 27);
/* oklch */ color: oklch(29.2% 0.054 146.5);
Tailwind
colors: {
  custom: {
    50: '#576b57',
    500: '#18331b',
    950: '#000000',
  },
}
SCSS
$custom: #18331b;
$custom-light: #576b57;
$custom-dark: #000000;
JSON
{
  "hex": "#18331b",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 126.667,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.29204,
    "c": 0.05434,
    "h": 146.5
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#18331B
secondary
#683E64
accent
#5CC0CC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #18331B

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

Preview Lab → · Contrast checker → · Palette generator →

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