#22331F#22331F

#22331F is a dark, muted green. Relative luminance 0.028; OKLCH L 30.0% C 0.042 H 140.8°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#22331F
RGBrgb(34, 51, 31)
HSLhsl(111, 24%, 16%)
HSVhsv(111, 39%, 20%)
CMYKcmyk(33.3%, 0%, 39.2%, 80%)
CIE-LABlab(19.25, -11.85, 10.52)
CIE-LCHlch(19.25, 15.85, 138.40°)
OKLaboklab(29.97% -0.0323 0.0264)
OKLCHoklch(29.97% 0.042 140.8)
XYZxyz(2.0908, 2.8066, 1.7276)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22331F #301F33
analogous
#2C331F #22331F #1F3326
triadic
#22331F #1F2233 #331F22
tetradic
#22331F #1F2C33 #301F33 #33261F
square
#22331F #1F2C33 #301F33 #33261F
split-complementary
#22331F #261F33 #331F2C
monochromatic
#0D130C #0D130C #22331F #3B5936 #557F4D

Accessibility & contrast

On white

13.45
#22331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22331F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22331F#FFFFFF#000000##FFFFFF
##22331F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#21322E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22331f;
/* rgb */ color: rgb(34, 51, 31);
/* oklch */ color: oklch(30.0% 0.042 140.8);
Tailwind
colors: {
  custom: {
    50: '#5d6a5a',
    500: '#22331f',
    950: '#000000',
  },
}
SCSS
$custom: #22331f;
$custom-light: #5d6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#22331f",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 111,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.04171,
    "h": 140.8
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#22331F
secondary
#614866
accent
#67C1B3
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #22331F

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

Preview Lab → · Contrast checker → · Palette generator →

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