#223A2C#223A2C

#223A2C is a dark, muted green. Relative luminance 0.035; OKLCH L 32.4% C 0.039 H 157.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#223A2C
RGBrgb(34, 58, 44)
HSLhsl(145, 26%, 18%)
HSVhsv(145, 41%, 23%)
CMYKcmyk(41.4%, 0%, 24.1%, 77.3%)
CIE-LABlab(22.12, -13.12, 5.79)
CIE-LCHlch(22.12, 14.34, 156.17°)
OKLaboklab(32.39% -0.0363 0.0149)
OKLCHoklch(32.39% 0.039 157.7)
XYZxyz(2.6272, 3.5479, 2.9288)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A2C #3A2230
analogous
#243A22 #223A2C #223A38
triadic
#223A2C #2C223A #3A2C22
tetradic
#223A2C #22243A #3A2230 #3A3822
square
#223A2C #22243A #3A2230 #3A3822
split-complementary
#223A2C #38223A #3A2224
monochromatic
#0B130F #0B130F #223A2C #396149 #4F8767

Accessibility & contrast

On white

12.28
#223A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A2C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A2C#FFFFFF#000000##FFFFFF
##223A2C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372B
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#1D3A36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223a2c;
/* rgb */ color: rgb(34, 58, 44);
/* oklch */ color: oklch(32.4% 0.039 157.7);
Tailwind
colors: {
  custom: {
    50: '#5e7065',
    500: '#223a2c',
    950: '#000000',
  },
}
SCSS
$custom: #223a2c;
$custom-light: #5e7065;
$custom-dark: #000000;
JSON
{
  "hex": "#223a2c",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 145,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.03923,
    "h": 157.7
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#223A2C
secondary
#6D4B5F
accent
#659CC2
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#040705
muted
#797A7A

Preview Lab

Preview with #223A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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