#2A2A0B#2A2A0B

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

Color values

HEX#2A2A0B
RGBrgb(42, 42, 11)
HSLhsl(60, 58%, 10%)
HSVhsv(60, 74%, 16%)
CMYKcmyk(0%, 0%, 73.8%, 83.5%)
CIE-LABlab(16.37, -5.18, 19.08)
CIE-LCHlch(16.37, 19.77, 105.18°)
OKLaboklab(27.72% -0.0157 0.0453)
OKLCHoklch(27.72% 0.048 109.2)
XYZxyz(1.8433, 2.1724, 0.6388)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A0B #0B0B2A
analogous
#2A1A0B #2A2A0B #1A2A0B
triadic
#2A2A0B #0B2A2A #2A0B2A
tetradic
#2A2A0B #0B2A1A #0B0B2A #2A0B1A
square
#2A2A0B #0B2A1A #0B0B2A #2A0B1A
split-complementary
#2A2A0B #0B1A2A #1A0B2A
monochromatic
#181806 #181806 #2A2A0B #5A5A18 #8B8B24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2A0B#FFFFFF#000000##FFFFFF
##2A2A0B1.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)
#2E2808
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#2D2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a0b;
/* rgb */ color: rgb(42, 42, 11);
/* oklch */ color: oklch(27.7% 0.048 109.2);
Tailwind
colors: {
  custom: {
    50: '#64634c',
    500: '#2a2a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a0b;
$custom-light: #64634c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a0b",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27724,
    "c": 0.04791,
    "h": 109.2
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#2A2A0B
secondary
#2B2B66
accent
#46E246
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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