#2B2A12#2B2A12

#2B2A12 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.039 H 106.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2B2A12
RGBrgb(43, 42, 18)
HSLhsl(58, 41%, 12%)
HSVhsv(58, 58%, 17%)
CMYKcmyk(0%, 2.3%, 58.1%, 83.1%)
CIE-LABlab(16.57, -3.89, 15.73)
CIE-LCHlch(16.57, 16.20, 103.90°)
OKLaboklab(27.94% -0.0112 0.0376)
OKLCHoklch(27.94% 0.039 106.6)
XYZxyz(1.9334, 2.2132, 0.8975)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A12 #12132B
analogous
#2B1E12 #2B2A12 #202B12
triadic
#2B2A12 #122B2A #2A122B
tetradic
#2B2A12 #122B1E #12132B #2B1220
square
#2B2A12 #122B1E #12132B #2B1220
split-complementary
#2B2A12 #12202B #1E122B
monochromatic
#161509 #161509 #2B2A12 #565424 #817E36

Accessibility & contrast

On white

14.56
#2B2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A12
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A12#FFFFFF#000000##FFFFFF
##2B2A121.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2810
Deuteranopia (green-blind)
#2E2913
Tritanopia (blue-blind)
#2E2724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2a12;
/* rgb */ color: rgb(43, 42, 18);
/* oklch */ color: oklch(27.9% 0.039 106.6);
Tailwind
colors: {
  custom: {
    50: '#656350',
    500: '#2b2a12',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a12;
$custom-light: #656350;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a12",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 57.6,
    "s": 40.984,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27941,
    "c": 0.03921,
    "h": 106.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#2B2A12
secondary
#363862
accent
#5CD157
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050502
muted
#7A7978

Preview Lab

Preview with #2B2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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