#2A2618#2A2618

#2A2618 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.9% C 0.025 H 94.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#2A2618
RGBrgb(42, 38, 24)
HSLhsl(47, 27%, 13%)
HSVhsv(47, 43%, 16%)
CMYKcmyk(0%, 9.5%, 42.9%, 83.5%)
CIE-LABlab(15.19, -0.86, 9.98)
CIE-LCHlch(15.19, 10.02, 94.93°)
OKLaboklab(26.86% -0.0018 0.0249)
OKLCHoklch(26.86% 0.025 94.1)
XYZxyz(1.8129, 1.9445, 1.1438)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2618 #181C2A
analogous
#2A1D18 #2A2618 #252A18
triadic
#2A2618 #182A26 #26182A
tetradic
#2A2618 #182A1D #181C2A #2A1825
square
#2A2618 #182A1D #181C2A #2A1825
split-complementary
#2A2618 #18252A #1D182A
monochromatic
#13120B #13120B #2A2618 #51492E #786C45

Accessibility & contrast

On white

15.12
#2A2618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2A2618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2618
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2618#FFFFFF#000000##FFFFFF
##2A26181.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292517
Deuteranopia (green-blind)
#2A2718
Tritanopia (blue-blind)
#2D2422
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2618;
/* rgb */ color: rgb(42, 38, 24);
/* oklch */ color: oklch(26.9% 0.025 94.1);
Tailwind
colors: {
  custom: {
    50: '#646054',
    500: '#2a2618',
    950: '#000000',
  },
}
SCSS
$custom: #2a2618;
$custom-light: #646054;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2618",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 24
  },
  "hsl": {
    "h": 46.667,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26862,
    "c": 0.02491,
    "h": 94.1
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#2A2618
secondary
#40475E
accent
#79C464
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050402
muted
#797978

Preview Lab

Preview with #2A2618

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

Preview Lab → · Contrast checker → · Palette generator →

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