#2A261A#2A261A

#2A261A is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.022 H 91.8°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#2A261A
RGBrgb(42, 38, 26)
HSLhsl(45, 24%, 13%)
HSVhsv(45, 38%, 16%)
CMYKcmyk(0%, 9.5%, 38.1%, 83.5%)
CIE-LABlab(15.24, -0.53, 8.65)
CIE-LCHlch(15.24, 8.67, 93.53°)
OKLaboklab(26.91% -0.0007 0.0218)
OKLCHoklch(26.91% 0.022 91.8)
XYZxyz(1.8344, 1.9531, 1.2574)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A261A #1A1E2A
analogous
#2A1E1A #2A261A #262A1A
triadic
#2A261A #1A2A26 #261A2A
tetradic
#2A261A #1A2A1E #1A1E2A #2A1A26
square
#2A261A #1A2A1E #1A1E2A #2A1A26
split-complementary
#2A261A #1A262A #1E1A2A
monochromatic
#13110C #13110C #2A261A #504831 #766A49

Accessibility & contrast

On white

15.10
#2A261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A261A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A261A#FFFFFF#000000##FFFFFF
##2A261A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292519
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#2D2423
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a261a;
/* rgb */ color: rgb(42, 38, 26);
/* oklch */ color: oklch(26.9% 0.022 91.8);
Tailwind
colors: {
  custom: {
    50: '#636056',
    500: '#2a261a',
    950: '#000000',
  },
}
SCSS
$custom: #2a261a;
$custom-light: #636056;
$custom-dark: #000000;
JSON
{
  "hex": "#2a261a",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 45,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26913,
    "c": 0.02178,
    "h": 91.8
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#2A261A
secondary
#43495D
accent
#7EC068
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #2A261A

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

Preview Lab → · Contrast checker → · Palette generator →

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