#2A2612#2A2612

#2A2612 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.7% C 0.034 H 98.3°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#2A2612
RGBrgb(42, 38, 18)
HSLhsl(50, 40%, 12%)
HSVhsv(50, 57%, 16%)
CMYKcmyk(0%, 9.5%, 57.1%, 83.5%)
CIE-LABlab(15.07, -1.73, 13.82)
CIE-LCHlch(15.07, 13.93, 97.12°)
OKLaboklab(26.73% -0.0049 0.0335)
OKLCHoklch(26.73% 0.034 98.3)
XYZxyz(1.7572, 1.9222, 0.8506)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2612 #12162A
analogous
#2A1A12 #2A2612 #222A12
triadic
#2A2612 #122A26 #26122A
tetradic
#2A2612 #122A1A #12162A #2A1222
square
#2A2612 #122A1A #12162A #2A1222
split-complementary
#2A2612 #12222A #1A122A
monochromatic
#151309 #151309 #2A2612 #554D24 #807437

Accessibility & contrast

On white

15.17
#2A2612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2612
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2612#FFFFFF#000000##FFFFFF
##2A26121.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2510
Deuteranopia (green-blind)
#2B2613
Tritanopia (blue-blind)
#2D2321
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2612;
/* rgb */ color: rgb(42, 38, 18);
/* oklch */ color: oklch(26.7% 0.034 98.3);
Tailwind
colors: {
  custom: {
    50: '#646050',
    500: '#2a2612',
    950: '#000000',
  },
}
SCSS
$custom: #2a2612;
$custom-light: #646050;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2612",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 18
  },
  "hsl": {
    "h": 50,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26728,
    "c": 0.03381,
    "h": 98.3
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#2A2612
secondary
#373E61
accent
#6CD058
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050402
muted
#7A7978

Preview Lab

Preview with #2A2612

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

Preview Lab → · Contrast checker → · Palette generator →

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