#22331B#22331B

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

Color values

HEX#22331B
RGBrgb(34, 51, 27)
HSLhsl(103, 31%, 15%)
HSVhsv(103, 47%, 20%)
CMYKcmyk(33.3%, 0%, 47.1%, 80%)
CIE-LABlab(19.17, -12.61, 13.04)
CIE-LCHlch(19.17, 18.14, 134.03°)
OKLaboklab(29.88% -0.0345 0.0322)
OKLCHoklch(29.88% 0.047 137)
XYZxyz(2.0413, 2.7868, 1.4671)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22331B #2C1B33
analogous
#2E331B #22331B #1B3320
triadic
#22331B #1B2233 #331B22
tetradic
#22331B #1B2E33 #2C1B33 #33201B
square
#22331B #1B2E33 #2C1B33 #33201B
split-complementary
#22331B #201B33 #331B2E
monochromatic
#0D140B #0D140B #22331B #3D5B30 #578345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22331B#FFFFFF#000000##FFFFFF
##22331B1.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)
#352F19
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#21312D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22331b;
/* rgb */ color: rgb(34, 51, 27);
/* oklch */ color: oklch(29.9% 0.047 137.0);
Tailwind
colors: {
  custom: {
    50: '#5e6a57',
    500: '#22331b',
    950: '#000000',
  },
}
SCSS
$custom: #22331b;
$custom-light: #5e6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#22331b",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 102.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29879,
    "c": 0.04716,
    "h": 137
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#22331B
secondary
#5D4367
accent
#61C7A9
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #22331B

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

Preview Lab → · Contrast checker → · Palette generator →

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