#2B2A0F#2B2A0F

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

Color values

HEX#2B2A0F
RGBrgb(43, 42, 15)
HSLhsl(58, 48%, 11%)
HSVhsv(58, 65%, 17%)
CMYKcmyk(0%, 2.3%, 65.1%, 83.1%)
CIE-LABlab(16.52, -4.24, 17.38)
CIE-LCHlch(16.52, 17.89, 103.71°)
OKLaboklab(27.89% -0.0126 0.0412)
OKLCHoklch(27.89% 0.043 107)
XYZxyz(1.9105, 2.2041, 0.7766)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A0F #0F102B
analogous
#2B1C0F #2B2A0F #1E2B0F
triadic
#2B2A0F #0F2B2A #2A0F2B
tetradic
#2B2A0F #0F2B1C #0F102B #2B0F1E
square
#2B2A0F #0F2B1C #0F102B #2B0F1E
split-complementary
#2B2A0F #0F1E2B #1C0F2B
monochromatic
#171608 #171608 #2B2A0F #58561F #86832F

Accessibility & contrast

On white

14.58
#2B2A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A0F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A0F#FFFFFF#000000##FFFFFF
##2B2A0F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2a0f;
/* rgb */ color: rgb(43, 42, 15);
/* oklch */ color: oklch(27.9% 0.043 107.0);
Tailwind
colors: {
  custom: {
    50: '#65634e',
    500: '#2b2a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a0f;
$custom-light: #65634e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a0f",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 57.857,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27891,
    "c": 0.04309,
    "h": 107
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#2B2A0F
secondary
#323364
accent
#55D850
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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