#2A281A#2A281A

#2A281A is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.024 H 101.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#2A281A
RGBrgb(42, 40, 26)
HSLhsl(53, 24%, 13%)
HSVhsv(53, 38%, 16%)
CMYKcmyk(0%, 4.8%, 38.1%, 83.5%)
CIE-LABlab(15.92, -1.90, 9.57)
CIE-LCHlch(15.92, 9.76, 101.24°)
OKLaboklab(27.45% -0.0046 0.024)
OKLCHoklch(27.45% 0.024 101)
XYZxyz(1.9001, 2.0844, 1.2793)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A281A #1A1C2A
analogous
#2A201A #2A281A #242A1A
triadic
#2A281A #1A2A28 #281A2A
tetradic
#2A281A #1A2A20 #1A1C2A #2A1A24
square
#2A281A #1A2A20 #1A1C2A #2A1A24
split-complementary
#2A281A #1A242A #201A2A
monochromatic
#13120C #13120C #2A281A #504C31 #767049

Accessibility & contrast

On white

14.82
#2A281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A281A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A281A#FFFFFF#000000##FFFFFF
##2A281A1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#2C2624
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a281a;
/* rgb */ color: rgb(42, 40, 26);
/* oklch */ color: oklch(27.5% 0.024 101.0);
Tailwind
colors: {
  custom: {
    50: '#636156',
    500: '#2a281a',
    950: '#000000',
  },
}
SCSS
$custom: #2a281a;
$custom-light: #636156;
$custom-dark: #000000;
JSON
{
  "hex": "#2a281a",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 52.5,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27454,
    "c": 0.02441,
    "h": 101
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#2A281A
secondary
#43465D
accent
#73C068
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #2A281A

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

Preview Lab → · Contrast checker → · Palette generator →

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