#2A2801#2A2801

#2A2801 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.057 H 106.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2A2801
RGBrgb(42, 40, 1)
HSLhsl(57, 95%, 8%)
HSVhsv(57, 98%, 16%)
CMYKcmyk(0%, 4.8%, 97.6%, 83.5%)
CIE-LABlab(15.55, -4.74, 22.14)
CIE-LCHlch(15.55, 22.64, 102.09°)
OKLaboklab(27.04% -0.0163 0.0543)
OKLCHoklch(27.04% 0.057 106.7)
XYZxyz(1.7192, 2.0121, 0.3265)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2801 #01032A
analogous
#2A1301 #2A2801 #172A01
triadic
#2A2801 #012A28 #28012A
tetradic
#2A2801 #012A13 #01032A #2A0117
square
#2A2801 #012A13 #01032A #2A0117
split-complementary
#2A2801 #01172A #13012A
monochromatic
#1E1C01 #1E1C01 #2A2801 #666102 #A29A04

Accessibility & contrast

On white

14.97
#2A2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2A2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2801
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2801#FFFFFF#000000##FFFFFF
##2A28011.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2D2803
Tritanopia (blue-blind)
#2E2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2801;
/* rgb */ color: rgb(42, 40, 1);
/* oklch */ color: oklch(27.0% 0.057 106.7);
Tailwind
colors: {
  custom: {
    50: '#656147',
    500: '#2a2801',
    950: '#000000',
  },
}
SCSS
$custom: #2a2801;
$custom-light: #656147;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2801",
  "rgb": {
    "r": 42,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 57.073,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.05663,
    "h": 106.7
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#2A2801
secondary
#161B70
accent
#33FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2801

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

Preview Lab → · Contrast checker → · Palette generator →

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