#1E331F#1E331F

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

Color values

HEX#1E331F
RGBrgb(30, 51, 31)
HSLhsl(123, 26%, 16%)
HSVhsv(123, 41%, 20%)
CMYKcmyk(41.2%, 0%, 39.2%, 80%)
CIE-LABlab(18.98, -13.52, 10.11)
CIE-LCHlch(18.98, 16.88, 143.20°)
OKLaboklab(29.68% -0.0369 0.0254)
OKLCHoklch(29.68% 0.045 145.4)
XYZxyz(1.9665, 2.7425, 1.7218)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E331F #331E32
analogous
#27331E #1E331F #1E3329
triadic
#1E331F #1F1E33 #331F1E
tetradic
#1E331F #1E2733 #331E32 #33291E
square
#1E331F #1E2733 #331E32 #33291E
split-complementary
#1E331F #291E33 #331E27
monochromatic
#0B130C #0B130C #1E331F #355A36 #4B804E

Accessibility & contrast

On white

13.56
#1E331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E331F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E331F#FFFFFF#000000##FFFFFF
##1E331F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1E
Deuteranopia (green-blind)
#312D20
Tritanopia (blue-blind)
#1C322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#1E331F
secondary
#664765
accent
#65BEC2
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #1E331F

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

Preview Lab → · Contrast checker → · Palette generator →

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