#2A2A05#2A2A05

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

Color values

HEX#2A2A05
RGBrgb(42, 42, 5)
HSLhsl(60, 79%, 9%)
HSVhsv(60, 88%, 16%)
CMYKcmyk(0%, 0%, 88.1%, 83.5%)
CIE-LABlab(16.30, -5.70, 21.45)
CIE-LCHlch(16.30, 22.20, 104.88°)
OKLaboklab(27.65% -0.0181 0.0512)
OKLCHoklch(27.65% 0.054 109.5)
XYZxyz(1.8103, 2.1592, 0.4650)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A05 #05052A
analogous
#2A1805 #2A2A05 #182A05
triadic
#2A2A05 #052A2A #2A052A
tetradic
#2A2A05 #052A18 #05052A #2A0518
square
#2A2A05 #052A18 #05052A #2A0518
split-complementary
#2A2A05 #05182A #18052A
monochromatic
#1B1B03 #1B1B03 #2A2A05 #61610C #979712

Accessibility & contrast

On white

14.67
#2A2A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2A05
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A05#FFFFFF#000000##FFFFFF
##2A2A051.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2801
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#2E2723
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2a05;
/* rgb */ color: rgb(42, 42, 5);
/* oklch */ color: oklch(27.7% 0.054 109.5);
Tailwind
colors: {
  custom: {
    50: '#656349',
    500: '#2a2a05',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a05;
$custom-light: #656349;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a05",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 60,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2765,
    "c": 0.05434,
    "h": 109.5
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#2A2A05
secondary
#1F1F6C
accent
#33F533
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2A05

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

Preview Lab → · Contrast checker → · Palette generator →

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