#2A2601#2A2601

#2A2601 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.054 H 103.3°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#2A2601
RGBrgb(42, 38, 1)
HSLhsl(54, 95%, 8%)
HSVhsv(54, 98%, 16%)
CMYKcmyk(0%, 9.5%, 97.6%, 83.5%)
CIE-LABlab(14.85, -3.41, 21.24)
CIE-LCHlch(14.85, 21.52, 99.12°)
OKLaboklab(26.48% -0.0125 0.053)
OKLCHoklch(26.48% 0.054 103.3)
XYZxyz(1.6535, 1.8807, 0.3046)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2601 #01052A
analogous
#2A1101 #2A2601 #192A01
triadic
#2A2601 #012A26 #26012A
tetradic
#2A2601 #012A11 #01052A #2A0119
square
#2A2601 #012A11 #01052A #2A0119
split-complementary
#2A2601 #01192A #11012A
monochromatic
#1E1B01 #1E1B01 #2A2601 #665C02 #A29204

Accessibility & contrast

On white

15.26
#2A2601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2601
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2601#FFFFFF#000000##FFFFFF
##2A26011.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#2E221F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a2601;
/* rgb */ color: rgb(42, 38, 1);
/* oklch */ color: oklch(26.5% 0.054 103.3);
Tailwind
colors: {
  custom: {
    50: '#656047',
    500: '#2a2601',
    950: '#000000',
  },
}
SCSS
$custom: #2a2601;
$custom-light: #656047;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2601",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 1
  },
  "hsl": {
    "h": 54.146,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26478,
    "c": 0.05448,
    "h": 103.3
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#2A2601
secondary
#161F70
accent
#3EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2601

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

Preview Lab → · Contrast checker → · Palette generator →

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