#2A2C24#2A2C24

#2A2C24 is a dark, near-neutral yellow-green. Relative luminance 0.024; OKLCH L 28.8% C 0.014 H 118.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2A2C24
RGBrgb(42, 44, 36)
HSLhsl(75, 10%, 16%)
HSVhsv(75, 18%, 17%)
CMYKcmyk(4.5%, 0%, 18.2%, 82.7%)
CIE-LABlab(17.56, -2.72, 4.90)
CIE-LCHlch(17.56, 5.60, 119.00°)
OKLaboklab(28.83% -0.0069 0.0127)
OKLCHoklch(28.83% 0.014 118.7)
XYZxyz(2.1739, 2.4210, 2.0215)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C24 #26242C
analogous
#2C2A24 #2A2C24 #262C24
triadic
#2A2C24 #242A2C #2C242A
tetradic
#2A2C24 #242C2A #26242C #2C2426
square
#2A2C24 #242C2A #26242C #2C2426
split-complementary
#2A2C24 #24262C #2A242C
monochromatic
#10110E #10110E #2A2C24 #4A4E40 #6A6F5B

Accessibility & contrast

On white

14.15
#2A2C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C24
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C24#FFFFFF#000000##FFFFFF
##2A2C241.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B24
Deuteranopia (green-blind)
#2D2B24
Tritanopia (blue-blind)
#2B2B2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2c24;
/* rgb */ color: rgb(42, 44, 36);
/* oklch */ color: oklch(28.8% 0.014 118.7);
Tailwind
colors: {
  custom: {
    50: '#63655e',
    500: '#2a2c24',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c24;
$custom-light: #63655e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c24",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 36
  },
  "hsl": {
    "h": 75,
    "s": 10,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.01442,
    "h": 118.7
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#2A2C24
secondary
#53505C
accent
#75B384
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #2A2C24

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

Preview Lab → · Contrast checker → · Palette generator →

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