#2A2401#2A2401

#2A2401 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.9% C 0.053 H 99.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#2A2401
RGBrgb(42, 36, 1)
HSLhsl(51, 95%, 8%)
HSVhsv(51, 98%, 16%)
CMYKcmyk(0%, 14.3%, 97.6%, 83.5%)
CIE-LABlab(14.15, -2.06, 20.34)
CIE-LCHlch(14.15, 20.44, 95.77°)
OKLaboklab(25.92% -0.0088 0.0518)
OKLCHoklch(25.92% 0.053 99.6)
XYZxyz(1.5913, 1.7563, 0.2839)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2401 #01072A
analogous
#2A0F01 #2A2401 #1B2A01
triadic
#2A2401 #012A24 #24012A
tetradic
#2A2401 #012A0F #01072A #2A011B
square
#2A2401 #012A0F #01072A #2A011B
split-complementary
#2A2401 #011B2A #0F012A
monochromatic
#1E1A01 #1E1A01 #2A2401 #665702 #A28A04

Accessibility & contrast

On white

15.54
#2A2401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A2401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2401
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2401#FFFFFF#000000##FFFFFF
##2A24011.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#2A2503
Tritanopia (blue-blind)
#2E201D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2401;
/* rgb */ color: rgb(42, 36, 1);
/* oklch */ color: oklch(25.9% 0.053 99.6);
Tailwind
colors: {
  custom: {
    50: '#655e47',
    500: '#2a2401',
    950: '#000000',
  },
}
SCSS
$custom: #2a2401;
$custom-light: #655e47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2401",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 1
  },
  "hsl": {
    "h": 51.22,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.05253,
    "h": 99.6
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#2A2401
secondary
#162470
accent
#48FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2401

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

Preview Lab → · Contrast checker → · Palette generator →

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