#2A2101#2A2101

#2A2101 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.050 H 93.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#2A2101
RGBrgb(42, 33, 1)
HSLhsl(47, 95%, 8%)
HSVhsv(47, 98%, 16%)
CMYKcmyk(0%, 21.4%, 97.6%, 83.5%)
CIE-LABlab(13.12, 0.01, 18.98)
CIE-LCHlch(13.12, 18.98, 89.96°)
OKLaboklab(25.11% -0.003 0.05)
OKLCHoklch(25.11% 0.05 93.4)
XYZxyz(1.5043, 1.5822, 0.2549)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2101 #010A2A
analogous
#2A0C01 #2A2101 #1E2A01
triadic
#2A2101 #012A21 #21012A
tetradic
#2A2101 #012A0C #010A2A #2A011E
square
#2A2101 #012A0C #010A2A #2A011E
split-complementary
#2A2101 #011E2A #0C012A
monochromatic
#1E1701 #1E1701 #2A2101 #665002 #A27F04

Accessibility & contrast

On white

15.95
#2A2101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2A2101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2101
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2101#FFFFFF#000000##FFFFFF
##2A21011.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#282302
Tritanopia (blue-blind)
#2E1D1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a2101;
/* rgb */ color: rgb(42, 33, 1);
/* oklch */ color: oklch(25.1% 0.050 93.4);
Tailwind
colors: {
  custom: {
    50: '#655c47',
    500: '#2a2101',
    950: '#000000',
  },
}
SCSS
$custom: #2a2101;
$custom-light: #655c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2101",
  "rgb": {
    "r": 42,
    "g": 33,
    "b": 1
  },
  "hsl": {
    "h": 46.829,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25108,
    "c": 0.05006,
    "h": 93.4
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#2A2101
secondary
#162A70
accent
#58FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2101

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

Preview Lab → · Contrast checker → · Palette generator →

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