#2A2501#2A2501

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

Color values

HEX#2A2501
RGBrgb(42, 37, 1)
HSLhsl(53, 95%, 8%)
HSVhsv(53, 98%, 16%)
CMYKcmyk(0%, 11.9%, 97.6%, 83.5%)
CIE-LABlab(14.50, -2.73, 20.79)
CIE-LCHlch(14.50, 20.97, 97.49°)
OKLaboklab(26.2% -0.0107 0.0524)
OKLCHoklch(26.2% 0.053 101.5)
XYZxyz(1.6220, 1.8176, 0.2941)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2501 #01062A
analogous
#2A1001 #2A2501 #1A2A01
triadic
#2A2501 #012A25 #25012A
tetradic
#2A2501 #012A10 #01062A #2A011A
square
#2A2501 #012A10 #01062A #2A011A
split-complementary
#2A2501 #011A2A #10012A
monochromatic
#1E1A01 #1E1A01 #2A2501 #665A02 #A28E04

Accessibility & contrast

On white

15.40
#2A2501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2A2501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2501
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2501#FFFFFF#000000##FFFFFF
##2A25011.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2B2603
Tritanopia (blue-blind)
#2E211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a2501;
/* rgb */ color: rgb(42, 37, 1);
/* oklch */ color: oklch(26.2% 0.053 101.5);
Tailwind
colors: {
  custom: {
    50: '#655f47',
    500: '#2a2501',
    950: '#000000',
  },
}
SCSS
$custom: #2a2501;
$custom-light: #655f47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2501",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 52.683,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.262,
    "c": 0.05348,
    "h": 101.5
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#2A2501
secondary
#162170
accent
#43FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2501

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

Preview Lab → · Contrast checker → · Palette generator →

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