#2A2001#2A2001

#2A2001 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.8% C 0.049 H 91.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2001
RGBrgb(42, 32, 1)
HSLhsl(45, 95%, 8%)
HSVhsv(45, 98%, 16%)
CMYKcmyk(0%, 23.8%, 97.6%, 83.5%)
CIE-LABlab(12.78, 0.71, 18.52)
CIE-LCHlch(12.78, 18.54, 87.81°)
OKLaboklab(24.84% -0.001 0.0494)
OKLCHoklch(24.84% 0.049 91.2)
XYZxyz(1.4769, 1.5276, 0.2458)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2001 #010B2A
analogous
#2A0B01 #2A2001 #1F2A01
triadic
#2A2001 #012A20 #20012A
tetradic
#2A2001 #012A0B #010B2A #2A011F
square
#2A2001 #012A0B #010B2A #2A011F
split-complementary
#2A2001 #011F2A #0B012A
monochromatic
#1E1701 #1E1701 #2A2001 #664E02 #A27B04

Accessibility & contrast

On white

16.09
#2A2001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2A2001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2001
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2001#FFFFFF#000000##FFFFFF
##2A20011.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#282202
Tritanopia (blue-blind)
#2F1C1A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2a2001;
/* rgb */ color: rgb(42, 32, 1);
/* oklch */ color: oklch(24.8% 0.049 91.2);
Tailwind
colors: {
  custom: {
    50: '#655b47',
    500: '#2a2001',
    950: '#000000',
  },
}
SCSS
$custom: #2a2001;
$custom-light: #655b47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2001",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 1
  },
  "hsl": {
    "h": 45.366,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24841,
    "c": 0.04938,
    "h": 91.2
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#2A2001
secondary
#162C70
accent
#5DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2001

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

Preview Lab → · Contrast checker → · Palette generator →

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