#2A2201#2A2201

#2A2201 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.4% C 0.051 H 95.6°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#2A2201
RGBrgb(42, 34, 1)
HSLhsl(48, 95%, 8%)
HSVhsv(48, 98%, 16%)
CMYKcmyk(0%, 19%, 97.6%, 83.5%)
CIE-LABlab(13.46, -0.68, 19.43)
CIE-LCHlch(13.46, 19.44, 92.02°)
OKLaboklab(25.38% -0.0049 0.0506)
OKLCHoklch(25.38% 0.051 95.6)
XYZxyz(1.5324, 1.6386, 0.2643)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2201 #01092A
analogous
#2A0D01 #2A2201 #1D2A01
triadic
#2A2201 #012A22 #22012A
tetradic
#2A2201 #012A0D #01092A #2A011D
square
#2A2201 #012A0D #01092A #2A011D
split-complementary
#2A2201 #011D2A #0D012A
monochromatic
#1E1801 #1E1801 #2A2201 #665202 #A28304

Accessibility & contrast

On white

15.82
#2A2201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A2201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2201
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2201#FFFFFF#000000##FFFFFF
##2A22011.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#292402
Tritanopia (blue-blind)
#2E1E1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a2201;
/* rgb */ color: rgb(42, 34, 1);
/* oklch */ color: oklch(25.4% 0.051 95.6);
Tailwind
colors: {
  custom: {
    50: '#655c47',
    500: '#2a2201',
    950: '#000000',
  },
}
SCSS
$custom: #2a2201;
$custom-light: #655c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2201",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 1
  },
  "hsl": {
    "h": 48.293,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25379,
    "c": 0.05081,
    "h": 95.6
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#2A2201
secondary
#162870
accent
#53FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2201

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

Preview Lab → · Contrast checker → · Palette generator →

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