#2A2701#2A2701

#2A2701 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.056 H 105.0°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#2A2701
RGBrgb(42, 39, 1)
HSLhsl(56, 95%, 8%)
HSVhsv(56, 98%, 16%)
CMYKcmyk(0%, 7.1%, 97.6%, 83.5%)
CIE-LABlab(15.20, -4.08, 21.69)
CIE-LCHlch(15.20, 22.07, 100.65°)
OKLaboklab(26.76% -0.0144 0.0536)
OKLCHoklch(26.76% 0.056 105)
XYZxyz(1.6859, 1.9455, 0.3154)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2701 #01042A
analogous
#2A1201 #2A2701 #182A01
triadic
#2A2701 #012A27 #27012A
tetradic
#2A2701 #012A12 #01042A #2A0118
square
#2A2701 #012A12 #01042A #2A0118
split-complementary
#2A2701 #01182A #12012A
monochromatic
#1E1C01 #1E1C01 #2A2701 #665F02 #A29604

Accessibility & contrast

On white

15.12
#2A2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2A2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2701
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2701#FFFFFF#000000##FFFFFF
##2A27011.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2D2703
Tritanopia (blue-blind)
#2E2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2701;
/* rgb */ color: rgb(42, 39, 1);
/* oklch */ color: oklch(26.8% 0.056 105.0);
Tailwind
colors: {
  custom: {
    50: '#656047',
    500: '#2a2701',
    950: '#000000',
  },
}
SCSS
$custom: #2a2701;
$custom-light: #656047;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2701",
  "rgb": {
    "r": 42,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 55.61,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26756,
    "c": 0.05553,
    "h": 105
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#2A2701
secondary
#161D70
accent
#38FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2701

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

Preview Lab → · Contrast checker → · Palette generator →

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