#262C22#262C22

#262C22 is a dark, near-neutral yellow-green. Relative luminance 0.023; OKLCH L 28.4% C 0.020 H 132.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#262C22
RGBrgb(38, 44, 34)
HSLhsl(96, 13%, 15%)
HSVhsv(96, 23%, 17%)
CMYKcmyk(13.6%, 0%, 22.7%, 82.7%)
CIE-LABlab(17.13, -5.01, 5.63)
CIE-LCHlch(17.13, 7.53, 131.68°)
OKLaboklab(28.38% -0.0134 0.0145)
OKLCHoklch(28.38% 0.02 132.9)
XYZxyz(1.9887, 2.3289, 1.8578)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C22 #28222C
analogous
#2B2C22 #262C22 #222C23
triadic
#262C22 #22262C #2C2226
tetradic
#262C22 #222B2C #28222C #2C2322
square
#262C22 #222B2C #28222C #2C2322
split-complementary
#262C22 #23222C #2C222B
monochromatic
#0F110D #0F110D #262C22 #444F3D #627157

Accessibility & contrast

On white

14.33
#262C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C22
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C22#FFFFFF#000000##FFFFFF
##262C221.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A21
Deuteranopia (green-blind)
#2C2A22
Tritanopia (blue-blind)
#262B29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262c22;
/* rgb */ color: rgb(38, 44, 34);
/* oklch */ color: oklch(28.4% 0.020 132.9);
Tailwind
colors: {
  custom: {
    50: '#60655d',
    500: '#262c22',
    950: '#000000',
  },
}
SCSS
$custom: #262c22;
$custom-light: #60655d;
$custom-dark: #000000;
JSON
{
  "hex": "#262c22",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 12.821,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.01974,
    "h": 132.9
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#262C22
secondary
#564D5D
accent
#72B69B
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040504
muted
#797A79

Preview Lab

Preview with #262C22

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

Preview Lab → · Contrast checker → · Palette generator →

#262C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva