#2A2C1E#2A2C1E

#2A2C1E is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.024 H 114.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2A2C1E
RGBrgb(42, 44, 30)
HSLhsl(69, 19%, 15%)
HSVhsv(69, 32%, 17%)
CMYKcmyk(4.5%, 0%, 31.8%, 82.7%)
CIE-LABlab(17.40, -3.90, 8.82)
CIE-LCHlch(17.40, 9.64, 113.83°)
OKLaboklab(28.66% -0.0102 0.0223)
OKLCHoklch(28.66% 0.024 114.6)
XYZxyz(2.0899, 2.3874, 1.5788)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C1E #201E2C
analogous
#2C271E #2A2C1E #232C1E
triadic
#2A2C1E #1E2A2C #2C1E2A
tetradic
#2A2C1E #1E2C27 #201E2C #2C1E23
square
#2A2C1E #1E2C27 #201E2C #2C1E23
split-complementary
#2A2C1E #1E232C #271E2C
monochromatic
#11120C #11120C #2A2C1E #4D5037 #6F7550

Accessibility & contrast

On white

14.21
#2A2C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C1E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C1E#FFFFFF#000000##FFFFFF
##2A2C1E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1D
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#2C2A28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2c1e;
/* rgb */ color: rgb(42, 44, 30);
/* oklch */ color: oklch(28.7% 0.024 114.6);
Tailwind
colors: {
  custom: {
    50: '#636559',
    500: '#2a2c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c1e;
$custom-light: #636559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c1e",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 30
  },
  "hsl": {
    "h": 68.571,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28656,
    "c": 0.02447,
    "h": 114.6
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#2A2C1E
secondary
#4B485E
accent
#6CBC78
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050503
muted
#797A78

Preview Lab

Preview with #2A2C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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