#22331C#22331C

#22331C is a dark, muted green. Relative luminance 0.028; OKLCH L 29.9% C 0.046 H 137.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#22331C
RGBrgb(34, 51, 28)
HSLhsl(104, 29%, 15%)
HSVhsv(104, 45%, 20%)
CMYKcmyk(33.3%, 0%, 45.1%, 80%)
CIE-LABlab(19.19, -12.43, 12.42)
CIE-LCHlch(19.19, 17.57, 135.02°)
OKLaboklab(29.9% -0.0339 0.0308)
OKLCHoklch(29.9% 0.046 137.8)
XYZxyz(2.0531, 2.7915, 1.5290)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22331C #2D1C33
analogous
#2D331C #22331C #1C3321
triadic
#22331C #1C2233 #331C22
tetradic
#22331C #1C2D33 #2D1C33 #33211C
square
#22331C #1C2D33 #2D1C33 #33211C
split-complementary
#22331C #211C33 #331C2D
monochromatic
#0D140B #0D140B #22331C #3C5B32 #578247

Accessibility & contrast

On white

13.48
#22331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#22331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22331C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22331C#FFFFFF#000000##FFFFFF
##22331C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301A
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#21312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22331c;
/* rgb */ color: rgb(34, 51, 28);
/* oklch */ color: oklch(29.9% 0.046 137.8);
Tailwind
colors: {
  custom: {
    50: '#5e6a58',
    500: '#22331c',
    950: '#000000',
  },
}
SCSS
$custom: #22331c;
$custom-light: #5e6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#22331c",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 104.348,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.04581,
    "h": 137.8
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#22331C
secondary
#5E4467
accent
#62C5AC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #22331C

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

Preview Lab → · Contrast checker → · Palette generator →

#22331C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva