#2A2805#2A2805

#2A2805 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.052 H 106.2°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2A2805
RGBrgb(42, 40, 5)
HSLhsl(57, 79%, 9%)
HSVhsv(57, 88%, 16%)
CMYKcmyk(0%, 4.8%, 88.1%, 83.5%)
CIE-LABlab(15.60, -4.38, 20.57)
CIE-LCHlch(15.60, 21.03, 102.03°)
OKLaboklab(27.09% -0.0144 0.0498)
OKLCHoklch(27.09% 0.052 106.2)
XYZxyz(1.7411, 2.0208, 0.4419)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2805 #05072A
analogous
#2A1605 #2A2805 #1A2A05
triadic
#2A2805 #052A28 #28052A
tetradic
#2A2805 #052A16 #05072A #2A051A
square
#2A2805 #052A16 #05072A #2A051A
split-complementary
#2A2805 #051A2A #16052A
monochromatic
#1B1A03 #1B1A03 #2A2805 #615C0C #979012

Accessibility & contrast

On white

14.96
#2A2805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2A2805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2805
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2805#FFFFFF#000000##FFFFFF
##2A28051.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2602
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#2E2521
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2805;
/* rgb */ color: rgb(42, 40, 5);
/* oklch */ color: oklch(27.1% 0.052 106.2);
Tailwind
colors: {
  custom: {
    50: '#656149',
    500: '#2a2805',
    950: '#000000',
  },
}
SCSS
$custom: #2a2805;
$custom-light: #656149;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2805",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 56.757,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27088,
    "c": 0.05186,
    "h": 106.2
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#2A2805
secondary
#1F236C
accent
#3DF533
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2805

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

Preview Lab → · Contrast checker → · Palette generator →

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