#2A2E26#2A2E26

#2A2E26 is a dark, near-neutral yellow-green. Relative luminance 0.026; OKLCH L 29.4% C 0.015 H 129.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#2A2E26
RGBrgb(42, 46, 38)
HSLhsl(90, 10%, 16%)
HSVhsv(90, 17%, 18%)
CMYKcmyk(8.7%, 0%, 17.4%, 82%)
CIE-LABlab(18.30, -3.63, 4.57)
CIE-LCHlch(18.30, 5.83, 128.44°)
OKLaboklab(29.44% -0.0096 0.0118)
OKLCHoklch(29.44% 0.015 129.1)
XYZxyz(2.2816, 2.5862, 2.2123)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E26 #2A262E
analogous
#2E2E26 #2A2E26 #262E26
triadic
#2A2E26 #262A2E #2E262A
tetradic
#2A2E26 #262E2E #2A262E #2E2626
square
#2A2E26 #262E2E #2A262E #2E2626
split-complementary
#2A2E26 #26262E #2E262E
monochromatic
#0F110E #0F110E #2A2E26 #495042 #67715D

Accessibility & contrast

On white

13.84
#2A2E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E26
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E26#FFFFFF#000000##FFFFFF
##2A2E261.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D26
Deuteranopia (green-blind)
#2E2D26
Tritanopia (blue-blind)
#2A2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2e26;
/* rgb */ color: rgb(42, 46, 38);
/* oklch */ color: oklch(29.4% 0.015 129.1);
Tailwind
colors: {
  custom: {
    50: '#636660',
    500: '#2a2e26',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e26;
$custom-light: #636660;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e26",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29441,
    "c": 0.01522,
    "h": 129.1
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#2A2E26
secondary
#58525E
accent
#75B394
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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