#223A22#223A22

#223A22 is a dark, muted green. Relative luminance 0.035; OKLCH L 32.1% C 0.052 H 144.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#223A22
RGBrgb(34, 58, 34)
HSLhsl(120, 26%, 18%)
HSVhsv(120, 41%, 23%)
CMYKcmyk(41.4%, 0%, 41.4%, 77.3%)
CIE-LABlab(21.88, -15.34, 12.05)
CIE-LCHlch(21.88, 19.51, 141.84°)
OKLaboklab(32.12% -0.0418 0.0301)
OKLCHoklch(32.12% 0.052 144.3)
XYZxyz(2.4614, 3.4816, 2.0554)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A22 #3A223A
analogous
#2E3A22 #223A22 #223A2E
triadic
#223A22 #22223A #3A2222
tetradic
#223A22 #222E3A #3A223A #3A2E22
square
#223A22 #222E3A #3A223A #3A2E22
split-complementary
#223A22 #2E223A #3A222E
monochromatic
#0B130B #0B130B #223A22 #396139 #4F874F

Accessibility & contrast

On white

12.38
#223A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A22
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A22#FFFFFF#000000##FFFFFF
##223A221.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3620
Deuteranopia (green-blind)
#373323
Tritanopia (blue-blind)
#1F3934
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a22;
/* rgb */ color: rgb(34, 58, 34);
/* oklch */ color: oklch(32.1% 0.052 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e705d',
    500: '#223a22',
    950: '#000000',
  },
}
SCSS
$custom: #223a22;
$custom-light: #5e705d;
$custom-dark: #000000;
JSON
{
  "hex": "#223a22",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.05151,
    "h": 144.3
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#223A22
secondary
#6D4B6D
accent
#65C2C2
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#040704
muted
#797A79

Preview Lab

Preview with #223A22

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

Preview Lab → · Contrast checker → · Palette generator →

#223A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva