#1B331D#1B331D

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

Color values

HEX#1B331D
RGBrgb(27, 51, 29)
HSLhsl(125, 31%, 15%)
HSVhsv(125, 47%, 20%)
CMYKcmyk(47.1%, 0%, 43.1%, 80%)
CIE-LABlab(18.75, -15.12, 11.10)
CIE-LCHlch(18.75, 18.76, 143.71°)
OKLaboklab(29.43% -0.0412 0.0277)
OKLCHoklch(29.43% 0.05 146.1)
XYZxyz(1.8575, 2.6893, 1.5834)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B331D #331B31
analogous
#25331B #1B331D #1B3329
triadic
#1B331D #1D1B33 #331D1B
tetradic
#1B331D #1B2533 #331B31 #33291B
square
#1B331D #1B2533 #331B31 #33291B
split-complementary
#1B331D #291B33 #331B25
monochromatic
#0B140B #0B140B #1B331D #305B34 #45834B

Accessibility & contrast

On white

13.66
#1B331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B331D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B331D#FFFFFF#000000##FFFFFF
##1B331D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b331d;
/* rgb */ color: rgb(27, 51, 29);
/* oklch */ color: oklch(29.4% 0.050 146.1);
Tailwind
colors: {
  custom: {
    50: '#596b59',
    500: '#1b331d',
    950: '#000000',
  },
}
SCSS
$custom: #1b331d;
$custom-light: #596b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1b331d",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 125,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.04964,
    "h": 146.1
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#1B331D
secondary
#674364
accent
#61BEC7
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #1B331D

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

Preview Lab → · Contrast checker → · Palette generator →

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