#2A2412#2A2412

#2A2412 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.032 H 91.6°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#2A2412
RGBrgb(42, 36, 18)
HSLhsl(45, 40%, 12%)
HSVhsv(45, 57%, 16%)
CMYKcmyk(0%, 14.3%, 57.1%, 83.5%)
CIE-LABlab(14.39, -0.35, 12.94)
CIE-LCHlch(14.39, 12.94, 91.55°)
OKLaboklab(26.19% -0.0009 0.0315)
OKLCHoklch(26.19% 0.032 91.6)
XYZxyz(1.6950, 1.7977, 0.8299)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2412 #12182A
analogous
#2A1812 #2A2412 #242A12
triadic
#2A2412 #122A24 #24122A
tetradic
#2A2412 #122A18 #12182A #2A1224
square
#2A2412 #122A18 #12182A #2A1224
split-complementary
#2A2412 #12242A #18122A
monochromatic
#151209 #151209 #2A2412 #554924 #806D37

Accessibility & contrast

On white

15.45
#2A2412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2A2412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2412
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2412#FFFFFF#000000##FFFFFF
##2A24121.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282311
Deuteranopia (green-blind)
#292513
Tritanopia (blue-blind)
#2D2120
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2412;
/* rgb */ color: rgb(42, 36, 18);
/* oklch */ color: oklch(26.2% 0.032 91.6);
Tailwind
colors: {
  custom: {
    50: '#645e50',
    500: '#2a2412',
    950: '#000000',
  },
}
SCSS
$custom: #2a2412;
$custom-light: #645e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2412",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.03155,
    "h": 91.6
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#2A2412
secondary
#374161
accent
#76D058
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050402
muted
#7A7978

Preview Lab

Preview with #2A2412

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

Preview Lab → · Contrast checker → · Palette generator →

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