#2A2818#2A2818

#2A2818 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.028 H 102.0°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#2A2818
RGBrgb(42, 40, 24)
HSLhsl(53, 27%, 13%)
HSVhsv(53, 43%, 16%)
CMYKcmyk(0%, 4.8%, 42.9%, 83.5%)
CIE-LABlab(15.88, -2.23, 10.89)
CIE-LCHlch(15.88, 11.11, 101.57°)
OKLaboklab(27.41% -0.0057 0.027)
OKLCHoklch(27.41% 0.028 102)
XYZxyz(1.8785, 2.0758, 1.1657)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2818 #181A2A
analogous
#2A1F18 #2A2818 #232A18
triadic
#2A2818 #182A28 #28182A
tetradic
#2A2818 #182A1F #181A2A #2A1823
square
#2A2818 #182A1F #181A2A #2A1823
split-complementary
#2A2818 #18232A #1F182A
monochromatic
#13130B #13130B #2A2818 #514D2E #787245

Accessibility & contrast

On white

14.84
#2A2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2818
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2818#FFFFFF#000000##FFFFFF
##2A28181.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#2C2819
Tritanopia (blue-blind)
#2D2624
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2818;
/* rgb */ color: rgb(42, 40, 24);
/* oklch */ color: oklch(27.4% 0.028 102.0);
Tailwind
colors: {
  custom: {
    50: '#646155',
    500: '#2a2818',
    950: '#000000',
  },
}
SCSS
$custom: #2a2818;
$custom-light: #646155;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2818",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 53.333,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.27405,
    "c": 0.02757,
    "h": 102
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#2A2818
secondary
#40435E
accent
#6FC464
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050503
muted
#797978

Preview Lab

Preview with #2A2818

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

Preview Lab → · Contrast checker → · Palette generator →

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