#1A331F#1A331F

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

Color values

HEX#1A331F
RGBrgb(26, 51, 31)
HSLhsl(132, 32%, 15%)
HSVhsv(132, 49%, 20%)
CMYKcmyk(49%, 0%, 39.2%, 80%)
CIE-LABlab(18.74, -15.08, 9.75)
CIE-LCHlch(18.74, 17.95, 147.12°)
OKLaboklab(29.42% -0.0411 0.0245)
OKLCHoklch(29.42% 0.048 149.2)
XYZxyz(1.8570, 2.6861, 1.7167)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A331F #331A2E
analogous
#21331A #1A331F #1A332B
triadic
#1A331F #1F1A33 #331F1A
tetradic
#1A331F #1A2133 #331A2E #332B1A
square
#1A331F #1A2133 #331A2E #332B1A
split-complementary
#1A331F #2B1A33 #331A21
monochromatic
#0A140C #0A140C #1A331F #2F5C38 #438450

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A331F#FFFFFF#000000##FFFFFF
##1A331F1.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)
#332F1E
Deuteranopia (green-blind)
#302D20
Tritanopia (blue-blind)
#16322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a331f;
/* rgb */ color: rgb(26, 51, 31);
/* oklch */ color: oklch(29.4% 0.048 149.2);
Tailwind
colors: {
  custom: {
    50: '#586b5a',
    500: '#1a331f',
    950: '#000000',
  },
}
SCSS
$custom: #1a331f;
$custom-light: #586b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a331f",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 132,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.29422,
    "c": 0.04784,
    "h": 149.2
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#1A331F
secondary
#684160
accent
#5FB4C9
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#030604
muted
#787A79

Preview Lab

Preview with #1A331F

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

Preview Lab → · Contrast checker → · Palette generator →

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