#1F331A#1F331A

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

Color values

HEX#1F331A
RGBrgb(31, 51, 26)
HSLhsl(108, 32%, 15%)
HSVhsv(108, 49%, 20%)
CMYKcmyk(39.2%, 0%, 49%, 80%)
CIE-LABlab(18.94, -14.08, 13.36)
CIE-LCHlch(18.94, 19.41, 136.51°)
OKLaboklab(29.64% -0.0385 0.0329)
OKLCHoklch(29.64% 0.051 139.5)
XYZxyz(1.9353, 2.7335, 1.4027)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F331A #2E1A33
analogous
#2B331A #1F331A #1A3321
triadic
#1F331A #1A1F33 #331A1F
tetradic
#1F331A #1A2B33 #2E1A33 #33211A
square
#1F331A #1A2B33 #2E1A33 #33211A
split-complementary
#1F331A #211A33 #331A2B
monochromatic
#0C140A #0C140A #1F331A #385C2F #508443

Accessibility & contrast

On white

13.58
#1F331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F331A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F331A#FFFFFF#000000##FFFFFF
##1F331A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F18
Deuteranopia (green-blind)
#312D1B
Tritanopia (blue-blind)
#1E312D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f331a;
/* rgb */ color: rgb(31, 51, 26);
/* oklch */ color: oklch(29.6% 0.051 139.5);
Tailwind
colors: {
  custom: {
    50: '#5b6a56',
    500: '#1f331a',
    950: '#000000',
  },
}
SCSS
$custom: #1f331a;
$custom-light: #5b6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#1f331a",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 108,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.29635,
    "c": 0.05062,
    "h": 139.5
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#1F331A
secondary
#604168
accent
#5FC9B4
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #1F331A

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

Preview Lab → · Contrast checker → · Palette generator →

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