#2A2A0A#2A2A0A

#2A2A0A is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.049 H 109.2°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#2A2A0A
RGBrgb(42, 42, 10)
HSLhsl(60, 62%, 10%)
HSVhsv(60, 76%, 16%)
CMYKcmyk(0%, 0%, 76.2%, 83.5%)
CIE-LABlab(16.36, -5.27, 19.49)
CIE-LCHlch(16.36, 20.18, 105.12°)
OKLaboklab(27.71% -0.0161 0.0462)
OKLCHoklch(27.71% 0.049 109.2)
XYZxyz(1.8377, 2.1701, 0.6092)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A0A #0A0A2A
analogous
#2A1A0A #2A2A0A #1A2A0A
triadic
#2A2A0A #0A2A2A #2A0A2A
tetradic
#2A2A0A #0A2A1A #0A0A2A #2A0A1A
square
#2A2A0A #0A2A1A #0A0A2A #2A0A1A
split-complementary
#2A2A0A #0A1A2A #1A0A2A
monochromatic
#191906 #191906 #2A2A0A #5B5B16 #8D8D22

Accessibility & contrast

On white

14.64
#2A2A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2A2A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A0A
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A0A#FFFFFF#000000##FFFFFF
##2A2A0A1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2807
Deuteranopia (green-blind)
#2E290C
Tritanopia (blue-blind)
#2D2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a0a;
/* rgb */ color: rgb(42, 42, 10);
/* oklch */ color: oklch(27.7% 0.049 109.2);
Tailwind
colors: {
  custom: {
    50: '#64634b',
    500: '#2a2a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a0a;
$custom-light: #64634b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a0a",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 60,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27711,
    "c": 0.04897,
    "h": 109.2
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#2A2A0A
secondary
#292967
accent
#43E543
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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