#2A2E27#2A2E27

#2A2E27 is a dark, near-neutral yellow-green. Relative luminance 0.026; OKLCH L 29.5% C 0.014 H 131.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2A2E27
RGBrgb(42, 46, 39)
HSLhsl(94, 8%, 17%)
HSVhsv(94, 15%, 18%)
CMYKcmyk(8.7%, 0%, 15.2%, 82%)
CIE-LABlab(18.33, -3.41, 3.92)
CIE-LCHlch(18.33, 5.19, 130.98°)
OKLaboklab(29.47% -0.0091 0.0102)
OKLCHoklch(29.47% 0.014 131.7)
XYZxyz(2.2980, 2.5927, 2.2984)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E27 #2B272E
analogous
#2E2E27 #2A2E27 #272E28
triadic
#2A2E27 #272A2E #2E272A
tetradic
#2A2E27 #272E2E #2B272E #2E2827
square
#2A2E27 #272E2E #2B272E #2E2827
split-complementary
#2A2E27 #28272E #2E272E
monochromatic
#0F110E #0F110E #2A2E27 #484F43 #66705F

Accessibility & contrast

On white

13.83
#2A2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E27
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E27#FFFFFF#000000##FFFFFF
##2A2E271.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2e27;
/* rgb */ color: rgb(42, 46, 39);
/* oklch */ color: oklch(29.5% 0.014 131.7);
Tailwind
colors: {
  custom: {
    50: '#636661',
    500: '#2a2e27',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e27;
$custom-light: #636661;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e27",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 94.286,
    "s": 8.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29473,
    "c": 0.01361,
    "h": 131.7
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#2A2E27
secondary
#59535D
accent
#77B198
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050605
muted
#797A79

Preview Lab

Preview with #2A2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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