#1D331B#1D331B

#1D331B is a dark, muted green. Relative luminance 0.027; OKLCH L 29.5% C 0.051 H 142.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1D331B
RGBrgb(29, 51, 27)
HSLhsl(115, 31%, 15%)
HSVhsv(115, 47%, 20%)
CMYKcmyk(43.1%, 0%, 47.1%, 80%)
CIE-LABlab(18.83, -14.73, 12.54)
CIE-LCHlch(18.83, 19.35, 139.57°)
OKLaboklab(29.52% -0.0402 0.031)
OKLCHoklch(29.52% 0.051 142.3)
XYZxyz(1.8883, 2.7079, 1.4599)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D331B #311B33
analogous
#29331B #1D331B #1B3325
triadic
#1D331B #1B1D33 #331B1D
tetradic
#1D331B #1B2933 #311B33 #33251B
square
#1D331B #1B2933 #311B33 #33251B
split-complementary
#1D331B #251B33 #331B29
monochromatic
#0B140B #0B140B #1D331B #345B30 #4B8345

Accessibility & contrast

On white

13.62
#1D331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D331B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D331B#FFFFFF#000000##FFFFFF
##1D331B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#312D1C
Tritanopia (blue-blind)
#1B322D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d331b;
/* rgb */ color: rgb(29, 51, 27);
/* oklch */ color: oklch(29.5% 0.051 142.3);
Tailwind
colors: {
  custom: {
    50: '#5a6b57',
    500: '#1d331b',
    950: '#000000',
  },
}
SCSS
$custom: #1d331b;
$custom-light: #5a6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#1d331b",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 115,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.05075,
    "h": 142.3
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#1D331B
secondary
#644367
accent
#61C7BE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #1D331B

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

Preview Lab → · Contrast checker → · Palette generator →

#1D331B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva