#1D331F#1D331F

#1D331F is a dark, muted green. Relative luminance 0.027; OKLCH L 29.6% C 0.046 H 146.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1D331F
RGBrgb(29, 51, 31)
HSLhsl(125, 28%, 16%)
HSVhsv(125, 43%, 20%)
CMYKcmyk(43.1%, 0%, 39.2%, 80%)
CIE-LABlab(18.92, -13.92, 10.02)
CIE-LCHlch(18.92, 17.15, 144.26°)
OKLaboklab(29.62% -0.038 0.0252)
OKLCHoklch(29.62% 0.046 146.5)
XYZxyz(1.9377, 2.7277, 1.7205)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D331F #331D31
analogous
#26331D #1D331F #1D332A
triadic
#1D331F #1F1D33 #331F1D
tetradic
#1D331F #1D2633 #331D31 #332A1D
square
#1D331F #1D2633 #331D31 #332A1D
split-complementary
#1D331F #2A1D33 #331D26
monochromatic
#0B140C #0B140C #1D331F #335A37 #49814E

Accessibility & contrast

On white

13.59
#1D331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D331F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D331F#FFFFFF#000000##FFFFFF
##1D331F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1E
Deuteranopia (green-blind)
#302D20
Tritanopia (blue-blind)
#1A322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d331f;
/* rgb */ color: rgb(29, 51, 31);
/* oklch */ color: oklch(29.6% 0.046 146.5);
Tailwind
colors: {
  custom: {
    50: '#5a6a5a',
    500: '#1d331f',
    950: '#000000',
  },
}
SCSS
$custom: #1d331f;
$custom-light: #5a6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d331f",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 125.455,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29615,
    "c": 0.04555,
    "h": 146.5
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#1D331F
secondary
#664563
accent
#64BBC4
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #1D331F

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

Preview Lab → · Contrast checker → · Palette generator →

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