#2A2C18#2A2C18

#2A2C18 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.034 H 113.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#2A2C18
RGBrgb(42, 44, 24)
HSLhsl(66, 29%, 13%)
HSVhsv(66, 45%, 17%)
CMYKcmyk(4.5%, 0%, 45.5%, 82.7%)
CIE-LABlab(17.27, -4.90, 12.70)
CIE-LCHlch(17.27, 13.61, 111.12°)
OKLaboklab(28.51% -0.0134 0.0312)
OKLCHoklch(28.51% 0.034 113.2)
XYZxyz(2.0204, 2.3596, 1.2130)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C18 #1A182C
analogous
#2C2418 #2A2C18 #202C18
triadic
#2A2C18 #182A2C #2C182A
tetradic
#2A2C18 #182C24 #1A182C #2C1820
square
#2A2C18 #182C24 #1A182C #2C1820
split-complementary
#2A2C18 #18202C #24182C
monochromatic
#13140B #13140B #2A2C18 #50542E #767B43

Accessibility & contrast

On white

14.27
#2A2C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2A2C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C18
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C18#FFFFFF#000000##FFFFFF
##2A2C181.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A17
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#2C2A27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c18;
/* rgb */ color: rgb(42, 44, 24);
/* oklch */ color: oklch(28.5% 0.034 113.2);
Tailwind
colors: {
  custom: {
    50: '#646555',
    500: '#2a2c18',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c18;
$custom-light: #646555;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c18",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 66,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2851,
    "c": 0.03392,
    "h": 113.2
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#2A2C18
secondary
#433F60
accent
#62C66C
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050503
muted
#797A78

Preview Lab

Preview with #2A2C18

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

Preview Lab → · Contrast checker → · Palette generator →

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