#223228#223228

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

Color values

HEX#223228
RGBrgb(34, 50, 40)
HSLhsl(143, 19%, 16%)
HSVhsv(143, 32%, 20%)
CMYKcmyk(32%, 0%, 20%, 80.4%)
CIE-LABlab(19.12, -9.23, 4.26)
CIE-LCHlch(19.12, 10.17, 155.26°)
OKLaboklab(29.94% -0.0257 0.011)
OKLCHoklch(29.94% 0.028 156.8)
XYZxyz(2.1832, 2.7744, 2.4276)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223228 #32222C
analogous
#243222 #223228 #223230
triadic
#223228 #282232 #322822
tetradic
#223228 #222432 #32222C #323022
square
#223228 #222432 #32222C #323022
split-complementary
#223228 #302232 #322224
monochromatic
#0C120F #0C120F #223228 #3B5645 #547B62

Accessibility & contrast

On white

13.51
#223228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#223228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223228
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223228#FFFFFF#000000##FFFFFF
##2232281.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323027
Deuteranopia (green-blind)
#2F2E29
Tritanopia (blue-blind)
#1F322F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #223228;
/* rgb */ color: rgb(34, 50, 40);
/* oklch */ color: oklch(29.9% 0.028 156.8);
Tailwind
colors: {
  custom: {
    50: '#5d6a61',
    500: '#223228',
    950: '#000000',
  },
}
SCSS
$custom: #223228;
$custom-light: #5d6a61;
$custom-dark: #000000;
JSON
{
  "hex": "#223228",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 142.5,
    "s": 19.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29939,
    "c": 0.02792,
    "h": 156.8
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#223228
secondary
#644C5B
accent
#6C9EBC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040605
muted
#797A79

Preview Lab

Preview with #223228

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

Preview Lab → · Contrast checker → · Palette generator →

#223228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva