#2A2A01#2A2A01

#2A2A01 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.059 H 109.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2A2A01
RGBrgb(42, 42, 1)
HSLhsl(60, 95%, 8%)
HSVhsv(60, 98%, 16%)
CMYKcmyk(0%, 0%, 97.6%, 83.5%)
CIE-LABlab(16.26, -6.05, 23.03)
CIE-LCHlch(16.26, 23.81, 104.73°)
OKLaboklab(27.6% -0.0199 0.0555)
OKLCHoklch(27.6% 0.059 109.7)
XYZxyz(1.7884, 2.1504, 0.3496)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A01 #01012A
analogous
#2A1501 #2A2A01 #152A01
triadic
#2A2A01 #012A2A #2A012A
tetradic
#2A2A01 #012A15 #01012A #2A0115
square
#2A2A01 #012A15 #01012A #2A0115
split-complementary
#2A2A01 #01152A #15012A
monochromatic
#1E1E01 #1E1E01 #2A2A01 #666602 #A2A204

Accessibility & contrast

On white

14.69
#2A2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2A2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A01
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A01#FFFFFF#000000##FFFFFF
##2A2A011.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2F2903
Tritanopia (blue-blind)
#2E2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2a01;
/* rgb */ color: rgb(42, 42, 1);
/* oklch */ color: oklch(27.6% 0.059 109.7);
Tailwind
colors: {
  custom: {
    50: '#656347',
    500: '#2a2a01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a01;
$custom-light: #656347;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a01",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 60,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.27601,
    "c": 0.05894,
    "h": 109.7
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#2A2A01
secondary
#161670
accent
#29FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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