#18331E#18331E

#18331E is a dark, muted green. Relative luminance 0.027; OKLCH L 29.3% C 0.051 H 149.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#18331E
RGBrgb(24, 51, 30)
HSLhsl(133, 36%, 15%)
HSVhsv(133, 53%, 20%)
CMYKcmyk(52.9%, 0%, 41.2%, 80%)
CIE-LABlab(18.61, -16.02, 10.22)
CIE-LCHlch(18.61, 19.00, 147.48°)
OKLaboklab(29.28% -0.0436 0.0256)
OKLCHoklch(29.28% 0.051 149.6)
XYZxyz(1.7948, 2.6555, 1.6460)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18331E #33182D
analogous
#203318 #18331E #18332C
triadic
#18331E #1E1833 #331E18
tetradic
#18331E #182033 #33182D #332C18
square
#18331E #182033 #33182D #332C18
split-complementary
#18331E #2C1833 #331820
monochromatic
#0A150C #0A150C #18331E #2C5D36 #3F864F

Accessibility & contrast

On white

13.71
#18331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18331E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18331E#FFFFFF#000000##FFFFFF
##18331E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#2F2C1F
Tritanopia (blue-blind)
#13322E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18331e;
/* rgb */ color: rgb(24, 51, 30);
/* oklch */ color: oklch(29.3% 0.051 149.6);
Tailwind
colors: {
  custom: {
    50: '#576b5a',
    500: '#18331e',
    950: '#000000',
  },
}
SCSS
$custom: #18331e;
$custom-light: #576b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#18331e",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 133.333,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.0506,
    "h": 149.6
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#18331E
secondary
#683E5F
accent
#5CB3CC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #18331E

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

Preview Lab → · Contrast checker → · Palette generator →

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