#1E220C#1E220C

#1E220C is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 24.1% C 0.038 H 117.8°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#1E220C
RGBrgb(30, 34, 12)
HSLhsl(71, 48%, 9%)
HSVhsv(71, 65%, 13%)
CMYKcmyk(11.8%, 0%, 64.7%, 86.7%)
CIE-LABlab(12.26, -6.26, 13.06)
CIE-LCHlch(12.26, 14.48, 115.59°)
OKLaboklab(24.15% -0.0177 0.0336)
OKLCHoklch(24.15% 0.038 117.8)
XYZxyz(1.1738, 1.4466, 0.5651)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E220C #100C22
analogous
#221B0C #1E220C #13220C
triadic
#1E220C #0C1E22 #220C1E
tetradic
#1E220C #0C221B #100C22 #220C13
square
#1E220C #0C221B #100C22 #220C13
split-complementary
#1E220C #0C1322 #1B0C22
monochromatic
#141708 #141708 #1E220C #464F1C #6E7C2C

Accessibility & contrast

On white

16.29
#1E220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E220C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E220C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E220C#FFFFFF#000000##FFFFFF
##1E220C1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200A
Deuteranopia (green-blind)
#24200D
Tritanopia (blue-blind)
#20201D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e220c;
/* rgb */ color: rgb(30, 34, 12);
/* oklch */ color: oklch(24.1% 0.038 117.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c4c',
    500: '#1e220c',
    950: '#000000',
  },
}
SCSS
$custom: #1e220c;
$custom-light: #5a5c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e220c",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 70.909,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24148,
    "c": 0.03794,
    "h": 117.8
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#1E220C
secondary
#362E5C
accent
#50D769
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #1E220C

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

Preview Lab → · Contrast checker → · Palette generator →

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