#222826#222826

#222826 is a dark, near-neutral teal. Relative luminance 0.020; OKLCH L 27.0% C 0.009 H 173.5°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#222826
RGBrgb(34, 40, 38)
HSLhsl(160, 8%, 15%)
HSVhsv(160, 15%, 16%)
CMYKcmyk(15%, 0%, 5%, 84.3%)
CIE-LABlab(15.47, -3.18, 0.41)
CIE-LCHlch(15.47, 3.21, 172.61°)
OKLaboklab(27.02% -0.0092 0.0011)
OKLCHoklch(27.02% 0.009 173.5)
XYZxyz(1.7682, 1.9976, 2.1258)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222826 #282224
analogous
#222823 #222826 #222728
triadic
#222826 #262228 #282622
tetradic
#222826 #232228 #282224 #272822
square
#222826 #232228 #282224 #272822
split-complementary
#222826 #282227 #282322
monochromatic
#0E1110 #0E1110 #222826 #3E4945 #5A6A65

Accessibility & contrast

On white

15.00
#222826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#222826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222826
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222826#FFFFFF#000000##FFFFFF
##2228261.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282726
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#212827
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222826;
/* rgb */ color: rgb(34, 40, 38);
/* oklch */ color: oklch(27.0% 0.009 173.5);
Tailwind
colors: {
  custom: {
    50: '#5d6160',
    500: '#222826',
    950: '#000000',
  },
}
SCSS
$custom: #222826;
$custom-light: #5d6160;
$custom-dark: #000000;
JSON
{
  "hex": "#222826",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 160,
    "s": 8.108,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27015,
    "c": 0.00931,
    "h": 173.5
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#222826
secondary
#584E51
accent
#778AB1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040504
muted
#797979

Preview Lab

Preview with #222826

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

Preview Lab → · Contrast checker → · Palette generator →

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