#2B2A04#2B2A04

#2B2A04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.055 H 108.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#2B2A04
RGBrgb(43, 42, 4)
HSLhsl(58, 83%, 9%)
HSVhsv(58, 91%, 17%)
CMYKcmyk(0%, 2.3%, 90.7%, 83.1%)
CIE-LABlab(16.40, -5.23, 22.00)
CIE-LCHlch(16.40, 22.62, 103.38°)
OKLaboklab(27.75% -0.0171 0.0525)
OKLCHoklch(27.75% 0.055 108)
XYZxyz(1.8462, 2.1783, 0.4381)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A04 #04052B
analogous
#2B1704 #2B2A04 #192B04
triadic
#2B2A04 #042B2A #2A042B
tetradic
#2B2A04 #042B17 #04052B #2B0419
square
#2B2A04 #042B17 #04052B #2B0419
split-complementary
#2B2A04 #04192B #17042B
monochromatic
#1C1B03 #1C1B03 #2B2A04 #636109 #9B970E

Accessibility & contrast

On white

14.63
#2B2A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2A04
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A04#FFFFFF#000000##FFFFFF
##2B2A041.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#2F2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2a04;
/* rgb */ color: rgb(43, 42, 4);
/* oklch */ color: oklch(27.7% 0.055 108.0);
Tailwind
colors: {
  custom: {
    50: '#666348',
    500: '#2b2a04',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a04;
$custom-light: #666348;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a04",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 58.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27749,
    "c": 0.05521,
    "h": 108
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#2B2A04
secondary
#1D1F6E
accent
#34F92E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2A04

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

Preview Lab → · Contrast checker → · Palette generator →

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