#2A2905#2A2905

#2A2905 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.053 H 107.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2A2905
RGBrgb(42, 41, 5)
HSLhsl(58, 79%, 9%)
HSVhsv(58, 88%, 16%)
CMYKcmyk(0%, 2.4%, 88.1%, 83.5%)
CIE-LABlab(15.95, -5.05, 21.01)
CIE-LCHlch(15.95, 21.61, 103.51°)
OKLaboklab(27.37% -0.0163 0.0505)
OKLCHoklch(27.37% 0.053 107.9)
XYZxyz(1.7752, 2.0891, 0.4533)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2905 #05062A
analogous
#2A1705 #2A2905 #192A05
triadic
#2A2905 #052A29 #29052A
tetradic
#2A2905 #052A17 #05062A #2A0519
square
#2A2905 #052A17 #05062A #2A0519
split-complementary
#2A2905 #05192A #17052A
monochromatic
#1B1B03 #1B1B03 #2A2905 #615E0C #979412

Accessibility & contrast

On white

14.81
#2A2905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2905
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2905#FFFFFF#000000##FFFFFF
##2A29051.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#2E2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2905;
/* rgb */ color: rgb(42, 41, 5);
/* oklch */ color: oklch(27.4% 0.053 107.9);
Tailwind
colors: {
  custom: {
    50: '#656249',
    500: '#2a2905',
    950: '#000000',
  },
}
SCSS
$custom: #2a2905;
$custom-light: #656249;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2905",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 5
  },
  "hsl": {
    "h": 58.378,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27368,
    "c": 0.05308,
    "h": 107.9
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#2A2905
secondary
#1F216C
accent
#38F533
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2905

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

Preview Lab → · Contrast checker → · Palette generator →

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