#2A2A1E#2A2A1E

#2A2A1E is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.021 H 107.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#2A2A1E
RGBrgb(42, 42, 30)
HSLhsl(60, 17%, 14%)
HSVhsv(60, 29%, 16%)
CMYKcmyk(0%, 0%, 28.6%, 83.5%)
CIE-LABlab(16.71, -2.55, 7.88)
CIE-LCHlch(16.71, 8.28, 107.97°)
OKLaboklab(28.11% -0.0064 0.02)
OKLCHoklch(28.11% 0.021 107.7)
XYZxyz(2.0171, 2.2419, 1.5545)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A1E #1E1E2A
analogous
#2A241E #2A2A1E #242A1E
triadic
#2A2A1E #1E2A2A #2A1E2A
tetradic
#2A2A1E #1E2A24 #1E1E2A #2A1E24
square
#2A2A1E #1E2A24 #1E1E2A #2A1E24
split-complementary
#2A2A1E #1E242A #241E2A
monochromatic
#12120D #12120D #2A2A1E #4E4E38 #717151

Accessibility & contrast

On white

14.50
#2A2A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A1E
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A1E#FFFFFF#000000##FFFFFF
##2A2A1E1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291D
Deuteranopia (green-blind)
#2C2A1E
Tritanopia (blue-blind)
#2C2827
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2a1e;
/* rgb */ color: rgb(42, 42, 30);
/* oklch */ color: oklch(28.1% 0.021 107.7);
Tailwind
colors: {
  custom: {
    50: '#636359',
    500: '#2a2a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a1e;
$custom-light: #636359;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a1e",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28107,
    "c": 0.02096,
    "h": 107.7
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#2A2A1E
secondary
#48485B
accent
#6EB96E
background
#F5F5F5
surface
#EAEAE9
border
#C6C6C5
text
#050503
muted
#797978

Preview Lab

Preview with #2A2A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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