#2A2A10#2A2A10

#2A2A10 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.042 H 108.8°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#2A2A10
RGBrgb(42, 42, 16)
HSLhsl(60, 45%, 11%)
HSVhsv(60, 62%, 16%)
CMYKcmyk(0%, 0%, 61.9%, 83.5%)
CIE-LABlab(16.43, -4.66, 16.70)
CIE-LCHlch(16.43, 17.34, 105.59°)
OKLaboklab(27.8% -0.0136 0.0397)
OKLCHoklch(27.8% 0.042 108.8)
XYZxyz(1.8764, 2.1856, 0.8131)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A10 #10102A
analogous
#2A1D10 #2A2A10 #1D2A10
triadic
#2A2A10 #102A2A #2A102A
tetradic
#2A2A10 #102A1D #10102A #2A101D
square
#2A2A10 #102A1D #10102A #2A101D
split-complementary
#2A2A10 #101D2A #1D102A
monochromatic
#161608 #161608 #2A2A10 #565621 #838332

Accessibility & contrast

On white

14.61
#2A2A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2A2A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A10
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A10#FFFFFF#000000##FFFFFF
##2A2A101.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280E
Deuteranopia (green-blind)
#2E2911
Tritanopia (blue-blind)
#2D2724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a10;
/* rgb */ color: rgb(42, 42, 16);
/* oklch */ color: oklch(27.8% 0.042 108.8);
Tailwind
colors: {
  custom: {
    50: '#64634f',
    500: '#2a2a10',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a10;
$custom-light: #64634f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a10",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.04199,
    "h": 108.8
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#2A2A10
secondary
#333362
accent
#53D553
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050502
muted
#7A7978

Preview Lab

Preview with #2A2A10

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

Preview Lab → · Contrast checker → · Palette generator →

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