#18331F#18331F

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

Color values

HEX#18331F
RGBrgb(24, 51, 31)
HSLhsl(136, 36%, 15%)
HSVhsv(136, 53%, 20%)
CMYKcmyk(52.9%, 0%, 39.2%, 80%)
CIE-LABlab(18.63, -15.80, 9.58)
CIE-LCHlch(18.63, 18.48, 148.78°)
OKLaboklab(29.3% -0.0431 0.0241)
OKLCHoklch(29.3% 0.049 150.8)
XYZxyz(1.8077, 2.6606, 1.7144)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18331F #33182C
analogous
#1F3318 #18331F #18332D
triadic
#18331F #1F1833 #331F18
tetradic
#18331F #181F33 #33182C #332D18
square
#18331F #181F33 #33182C #332D18
split-complementary
#18331F #2D1833 #33181F
monochromatic
#0A150D #0A150D #18331F #2C5D38 #3F8652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18331F#FFFFFF#000000##FFFFFF
##18331F1.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)
#332F1E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#13322E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #18331f;
/* rgb */ color: rgb(24, 51, 31);
/* oklch */ color: oklch(29.3% 0.049 150.8);
Tailwind
colors: {
  custom: {
    50: '#576b5a',
    500: '#18331f',
    950: '#000000',
  },
}
SCSS
$custom: #18331f;
$custom-light: #576b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#18331f",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 135.556,
    "s": 36,
    "l": 14.706
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.04935,
    "h": 150.8
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#18331F
secondary
#683E5E
accent
#5CAFCC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #18331F

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

Preview Lab → · Contrast checker → · Palette generator →

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