#1F321E#1F321E

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

Color values

HEX#1F321E
RGBrgb(31, 50, 30)
HSLhsl(117, 25%, 16%)
HSVhsv(117, 40%, 20%)
CMYKcmyk(38%, 0%, 40%, 80.4%)
CIE-LABlab(18.65, -12.73, 10.35)
CIE-LCHlch(18.65, 16.41, 140.88°)
OKLaboklab(29.43% -0.0347 0.0259)
OKLCHoklch(29.43% 0.043 143.2)
XYZxyz(1.9399, 2.6662, 1.6404)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F321E #311E32
analogous
#29321E #1F321E #1E3227
triadic
#1F321E #1E1F32 #321E1F
tetradic
#1F321E #1E2932 #311E32 #32271E
square
#1F321E #1E2932 #311E32 #32271E
split-complementary
#1F321E #271E32 #321E29
monochromatic
#0C130B #0C130B #1F321E #375835 #4E7E4C

Accessibility & contrast

On white

13.70
#1F321E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1F321E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F321E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F321E#FFFFFF#000000##FFFFFF
##1F321E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#302D1F
Tritanopia (blue-blind)
#1D312D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1f321e;
/* rgb */ color: rgb(31, 50, 30);
/* oklch */ color: oklch(29.4% 0.043 143.2);
Tailwind
colors: {
  custom: {
    50: '#5b6a5a',
    500: '#1f321e',
    950: '#000000',
  },
}
SCSS
$custom: #1f321e;
$custom-light: #5b6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f321e",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 30
  },
  "hsl": {
    "h": 117,
    "s": 25,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.04333,
    "h": 143.2
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#1F321E
secondary
#634765
accent
#66C1BD
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #1F321E

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

Preview Lab → · Contrast checker → · Palette generator →

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