#2B2A0C#2B2A0C

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

Color values

HEX#2B2A0C
RGBrgb(43, 42, 12)
HSLhsl(58, 56%, 11%)
HSVhsv(58, 72%, 17%)
CMYKcmyk(0%, 2.3%, 72.1%, 83.1%)
CIE-LABlab(16.48, -4.54, 18.81)
CIE-LCHlch(16.48, 19.35, 103.58°)
OKLaboklab(27.85% -0.0139 0.0445)
OKLCHoklch(27.85% 0.047 107.3)
XYZxyz(1.8906, 2.1961, 0.6721)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A0C #0C0D2B
analogous
#2B1A0C #2B2A0C #1C2B0C
triadic
#2B2A0C #0C2B2A #2A0C2B
tetradic
#2B2A0C #0C2B1A #0C0D2B #2B0C1C
square
#2B2A0C #0C2B1A #0C0D2B #2B0C1C
split-complementary
#2B2A0C #0C1C2B #1A0C2B
monochromatic
#181707 #181707 #2B2A0C #5B5919 #8B8727

Accessibility & contrast

On white

14.59
#2B2A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A0C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A0C#FFFFFF#000000##FFFFFF
##2B2A0C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#2F290E
Tritanopia (blue-blind)
#2F2724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2a0c;
/* rgb */ color: rgb(43, 42, 12);
/* oklch */ color: oklch(27.8% 0.047 107.3);
Tailwind
colors: {
  custom: {
    50: '#65634c',
    500: '#2b2a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a0c;
$custom-light: #65634c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a0c",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 58.065,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27847,
    "c": 0.04663,
    "h": 107.3
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#2B2A0C
secondary
#2C2E66
accent
#4DE048
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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