#2A2A09#2A2A09

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

Color values

HEX#2A2A09
RGBrgb(42, 42, 9)
HSLhsl(60, 65%, 10%)
HSVhsv(60, 79%, 16%)
CMYKcmyk(0%, 0%, 78.6%, 83.5%)
CIE-LABlab(16.34, -5.35, 19.88)
CIE-LCHlch(16.34, 20.59, 105.07°)
OKLaboklab(27.7% -0.0165 0.0472)
OKLCHoklch(27.7% 0.05 109.3)
XYZxyz(1.8322, 2.1679, 0.5803)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A09 #09092A
analogous
#2A1A09 #2A2A09 #1A2A09
triadic
#2A2A09 #092A2A #2A092A
tetradic
#2A2A09 #092A1A #09092A #2A091A
square
#2A2A09 #092A1A #09092A #2A091A
split-complementary
#2A2A09 #09192A #19092A
monochromatic
#191905 #191905 #2A2A09 #5C5C14 #8F8F1F

Accessibility & contrast

On white

14.65
#2A2A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2A09
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A09#FFFFFF#000000##FFFFFF
##2A2A091.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2a09;
/* rgb */ color: rgb(42, 42, 9);
/* oklch */ color: oklch(27.7% 0.050 109.3);
Tailwind
colors: {
  custom: {
    50: '#64634b',
    500: '#2a2a09',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a09;
$custom-light: #64634b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a09",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.27699,
    "c": 0.05001,
    "h": 109.3
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#2A2A09
secondary
#272768
accent
#40E840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2A09

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

Preview Lab → · Contrast checker → · Palette generator →

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