#223A2A#223A2A

#223A2A is a dark, muted green. Relative luminance 0.035; OKLCH L 32.3% C 0.042 H 154.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#223A2A
RGBrgb(34, 58, 42)
HSLhsl(140, 26%, 18%)
HSVhsv(140, 41%, 23%)
CMYKcmyk(41.4%, 0%, 27.6%, 77.3%)
CIE-LABlab(22.06, -13.60, 7.05)
CIE-LCHlch(22.06, 15.32, 152.59°)
OKLaboklab(32.33% -0.0374 0.018)
OKLCHoklch(32.33% 0.042 154.3)
XYZxyz(2.5905, 3.5332, 2.7355)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A2A #3A2232
analogous
#263A22 #223A2A #223A36
triadic
#223A2A #2A223A #3A2A22
tetradic
#223A2A #22263A #3A2232 #3A3622
square
#223A2A #22263A #3A2232 #3A3622
split-complementary
#223A2A #36223A #3A2226
monochromatic
#0B130E #0B130E #223A2A #396146 #4F8762

Accessibility & contrast

On white

12.31
#223A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#223A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A2A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A2A#FFFFFF#000000##FFFFFF
##223A2A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3629
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#1E3936
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223a2a;
/* rgb */ color: rgb(34, 58, 42);
/* oklch */ color: oklch(32.3% 0.042 154.3);
Tailwind
colors: {
  custom: {
    50: '#5e7063',
    500: '#223a2a',
    950: '#000000',
  },
}
SCSS
$custom: #223a2a;
$custom-light: #5e7063;
$custom-dark: #000000;
JSON
{
  "hex": "#223a2a",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 140,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.04153,
    "h": 154.3
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#223A2A
secondary
#6D4B61
accent
#65A3C2
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#040705
muted
#797A79

Preview Lab

Preview with #223A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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