#2A2901#2A2901

#2A2901 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.058 H 108.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2A2901
RGBrgb(42, 41, 1)
HSLhsl(59, 95%, 8%)
HSVhsv(59, 98%, 16%)
CMYKcmyk(0%, 2.4%, 97.6%, 83.5%)
CIE-LABlab(15.90, -5.40, 22.59)
CIE-LCHlch(15.90, 23.22, 103.45°)
OKLaboklab(27.32% -0.0181 0.0549)
OKLCHoklch(27.32% 0.058 108.2)
XYZxyz(1.7533, 2.0804, 0.3379)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2901 #01022A
analogous
#2A1401 #2A2901 #162A01
triadic
#2A2901 #012A29 #29012A
tetradic
#2A2901 #012A14 #01022A #2A0116
square
#2A2901 #012A14 #01022A #2A0116
split-complementary
#2A2901 #01162A #14012A
monochromatic
#1E1D01 #1E1D01 #2A2901 #666302 #A29E04

Accessibility & contrast

On white

14.83
#2A2901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2901
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2901#FFFFFF#000000##FFFFFF
##2A29011.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#2E2521
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2901;
/* rgb */ color: rgb(42, 41, 1);
/* oklch */ color: oklch(27.3% 0.058 108.2);
Tailwind
colors: {
  custom: {
    50: '#656247',
    500: '#2a2901',
    950: '#000000',
  },
}
SCSS
$custom: #2a2901;
$custom-light: #656247;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2901",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 58.537,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27318,
    "c": 0.05777,
    "h": 108.2
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#2A2901
secondary
#161970
accent
#2EFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2901

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

Preview Lab → · Contrast checker → · Palette generator →

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