#2A2E22#2A2E22

#2A2E22 is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.022 H 122.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#2A2E22
RGBrgb(42, 46, 34)
HSLhsl(80, 15%, 16%)
HSVhsv(80, 26%, 18%)
CMYKcmyk(8.7%, 0%, 26.1%, 82%)
CIE-LABlab(18.20, -4.46, 7.17)
CIE-LCHlch(18.20, 8.44, 121.88°)
OKLaboklab(29.32% -0.0117 0.0183)
OKLCHoklch(29.32% 0.022 122.7)
XYZxyz(2.2205, 2.5617, 1.8905)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E22 #26222E
analogous
#2E2C22 #2A2E22 #242E22
triadic
#2A2E22 #222A2E #2E222A
tetradic
#2A2E22 #222E2C #26222E #2E2224
square
#2A2E22 #222E2C #26222E #2E2224
split-complementary
#2A2E22 #22242E #2C222E
monochromatic
#10120D #10120D #2A2E22 #4A513C #6A7456

Accessibility & contrast

On white

13.89
#2A2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E22
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E22#FFFFFF#000000##FFFFFF
##2A2E221.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#2F2C22
Tritanopia (blue-blind)
#2B2D2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2e22;
/* rgb */ color: rgb(42, 46, 34);
/* oklch */ color: oklch(29.3% 0.022 122.7);
Tailwind
colors: {
  custom: {
    50: '#63665d',
    500: '#2a2e22',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e22;
$custom-light: #63665d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e22",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 80,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29319,
    "c": 0.02174,
    "h": 122.7
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#2A2E22
secondary
#534D5F
accent
#70B888
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A2E22

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

Preview Lab → · Contrast checker → · Palette generator →

#2A2E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva