#1B331E#1B331E

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

Color values

HEX#1B331E
RGBrgb(27, 51, 30)
HSLhsl(128, 31%, 15%)
HSVhsv(128, 47%, 20%)
CMYKcmyk(47.1%, 0%, 41.2%, 80%)
CIE-LABlab(18.78, -14.91, 10.47)
CIE-LCHlch(18.78, 18.22, 144.93°)
OKLaboklab(29.46% -0.0406 0.0262)
OKLCHoklch(29.46% 0.048 147.2)
XYZxyz(1.8701, 2.6943, 1.6496)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B331E #331B30
analogous
#24331B #1B331E #1B332A
triadic
#1B331E #1E1B33 #331E1B
tetradic
#1B331E #1B2433 #331B30 #332A1B
square
#1B331E #1B2433 #331B30 #332A1B
split-complementary
#1B331E #2A1B33 #331B24
monochromatic
#0B140C #0B140C #1B331E #305B36 #45834D

Accessibility & contrast

On white

13.65
#1B331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B331E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B331E#FFFFFF#000000##FFFFFF
##1B331E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1D
Deuteranopia (green-blind)
#302D1F
Tritanopia (blue-blind)
#18322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b331e;
/* rgb */ color: rgb(27, 51, 30);
/* oklch */ color: oklch(29.5% 0.048 147.2);
Tailwind
colors: {
  custom: {
    50: '#596b5a',
    500: '#1b331e',
    950: '#000000',
  },
}
SCSS
$custom: #1b331e;
$custom-light: #596b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b331e",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 127.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.04836,
    "h": 147.2
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#1B331E
secondary
#674363
accent
#61BAC7
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #1B331E

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

Preview Lab → · Contrast checker → · Palette generator →

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