#2A2D0A#2A2D0A

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

Color values

HEX#2A2D0A
RGBrgb(42, 45, 10)
HSLhsl(65, 64%, 11%)
HSVhsv(65, 78%, 18%)
CMYKcmyk(6.7%, 0%, 77.8%, 82.4%)
CIE-LABlab(17.42, -7.21, 20.79)
CIE-LCHlch(17.42, 22.01, 109.13°)
OKLaboklab(28.56% -0.0216 0.0486)
OKLCHoklch(28.56% 0.053 113.9)
XYZxyz(1.9481, 2.3910, 0.6460)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D0A #0D0A2D
analogous
#2D1E0A #2A2D0A #182D0A
triadic
#2A2D0A #0A2A2D #2D0A2A
tetradic
#2A2D0A #0A2D1E #0D0A2D #2D0A18
square
#2A2D0A #0A2D1E #0D0A2D #2D0A18
split-complementary
#2A2D0A #0A182D #1E0A2D
monochromatic
#171906 #171906 #2A2D0A #595F15 #879120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2D0A#FFFFFF#000000##FFFFFF
##2A2D0A1.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)
#312A06
Deuteranopia (green-blind)
#312B0C
Tritanopia (blue-blind)
#2D2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d0a;
/* rgb */ color: rgb(42, 45, 10);
/* oklch */ color: oklch(28.6% 0.053 113.9);
Tailwind
colors: {
  custom: {
    50: '#65654c',
    500: '#2a2d0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d0a;
$custom-light: #65654c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d0a",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 65.143,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2856,
    "c": 0.0532,
    "h": 113.9
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#2A2D0A
secondary
#2E296A
accent
#41E74F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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