#2A290A#2A290A

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

Color values

HEX#2A290A
RGBrgb(42, 41, 10)
HSLhsl(58, 62%, 10%)
HSVhsv(58, 76%, 16%)
CMYKcmyk(0%, 2.4%, 76.2%, 83.5%)
CIE-LABlab(16.00, -4.61, 19.05)
CIE-LCHlch(16.00, 19.60, 103.60°)
OKLaboklab(27.43% -0.0142 0.0454)
OKLCHoklch(27.43% 0.048 107.4)
XYZxyz(1.8026, 2.1001, 0.5975)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A290A #0A0B2A
analogous
#2A190A #2A290A #1B2A0A
triadic
#2A290A #0A2A29 #290A2A
tetradic
#2A290A #0A2A19 #0A0B2A #2A0A1B
square
#2A290A #0A2A19 #0A0B2A #2A0A1B
split-complementary
#2A290A #0A1B2A #190A2A
monochromatic
#191806 #191806 #2A290A #5B5916 #8D8A22

Accessibility & contrast

On white

14.79
#2A290A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A290A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A290A#FFFFFF#000000##FFFFFF
##2A290A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#2E280C
Tritanopia (blue-blind)
#2E2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a290a;
/* rgb */ color: rgb(42, 41, 10);
/* oklch */ color: oklch(27.4% 0.048 107.4);
Tailwind
colors: {
  custom: {
    50: '#64624b',
    500: '#2a290a',
    950: '#000000',
  },
}
SCSS
$custom: #2a290a;
$custom-light: #64624b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a290a",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 10
  },
  "hsl": {
    "h": 58.125,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27431,
    "c": 0.04762,
    "h": 107.4
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#2A290A
secondary
#292B67
accent
#48E543
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A290A

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

Preview Lab → · Contrast checker → · Palette generator →

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