#1B331B#1B331B

#1B331B is a dark, muted green. Relative luminance 0.027; OKLCH L 29.4% C 0.052 H 144.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1B331B
RGBrgb(27, 51, 27)
HSLhsl(120, 31%, 15%)
HSVhsv(120, 47%, 20%)
CMYKcmyk(47.1%, 0%, 47.1%, 80%)
CIE-LABlab(18.71, -15.52, 12.36)
CIE-LCHlch(18.71, 19.85, 141.47°)
OKLaboklab(29.39% -0.0423 0.0306)
OKLCHoklch(29.39% 0.052 144.1)
XYZxyz(1.8336, 2.6797, 1.4573)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B331B #331B33
analogous
#27331B #1B331B #1B3327
triadic
#1B331B #1B1B33 #331B1B
tetradic
#1B331B #1B2733 #331B33 #33271B
square
#1B331B #1B2733 #331B33 #33271B
split-complementary
#1B331B #271B33 #331B27
monochromatic
#0B140B #0B140B #1B331B #305B30 #458345

Accessibility & contrast

On white

13.67
#1B331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B331B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B331B#FFFFFF#000000##FFFFFF
##1B331B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#302D1C
Tritanopia (blue-blind)
#18322D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b331b;
/* rgb */ color: rgb(27, 51, 27);
/* oklch */ color: oklch(29.4% 0.052 144.1);
Tailwind
colors: {
  custom: {
    50: '#596b57',
    500: '#1b331b',
    950: '#000000',
  },
}
SCSS
$custom: #1b331b;
$custom-light: #596b57;
$custom-dark: #000000;
JSON
{
  "hex": "#1b331b",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 120,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29387,
    "c": 0.05221,
    "h": 144.1
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#1B331B
secondary
#674367
accent
#61C7C7
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #1B331B

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

Preview Lab → · Contrast checker → · Palette generator →

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