#1F331E#1F331E

#1F331E is a dark, muted green. Relative luminance 0.028; OKLCH L 29.7% C 0.045 H 143.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1F331E
RGBrgb(31, 51, 30)
HSLhsl(117, 26%, 16%)
HSVhsv(117, 41%, 20%)
CMYKcmyk(39.2%, 0%, 41.2%, 80%)
CIE-LABlab(19.02, -13.32, 10.85)
CIE-LCHlch(19.02, 17.17, 140.84°)
OKLaboklab(29.73% -0.0363 0.0271)
OKLCHoklch(29.73% 0.045 143.2)
XYZxyz(1.9832, 2.7526, 1.6549)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F331E #321E33
analogous
#29331E #1F331E #1E3327
triadic
#1F331E #1E1F33 #331E1F
tetradic
#1F331E #1E2933 #321E33 #33271E
square
#1F331E #1E2933 #321E33 #33271E
split-complementary
#1F331E #271E33 #331E29
monochromatic
#0C130B #0C130B #1F331E #365A35 #4E804B

Accessibility & contrast

On white

13.54
#1F331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F331E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F331E#FFFFFF#000000##FFFFFF
##1F331E1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1D
Deuteranopia (green-blind)
#312D1F
Tritanopia (blue-blind)
#1D322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f331e;
/* rgb */ color: rgb(31, 51, 30);
/* oklch */ color: oklch(29.7% 0.045 143.2);
Tailwind
colors: {
  custom: {
    50: '#5b6a5a',
    500: '#1f331e',
    950: '#000000',
  },
}
SCSS
$custom: #1f331e;
$custom-light: #5b6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f331e",
  "rgb": {
    "r": 31,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 117.143,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.04532,
    "h": 143.2
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#1F331E
secondary
#654766
accent
#65C2BE
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #1F331E

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

Preview Lab → · Contrast checker → · Palette generator →

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