#2B2504#2B2504

#2B2504 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.4% C 0.050 H 98.9°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#2B2504
RGBrgb(43, 37, 4)
HSLhsl(51, 83%, 9%)
HSVhsv(51, 91%, 17%)
CMYKcmyk(0%, 14%, 90.7%, 83.1%)
CIE-LABlab(14.66, -1.89, 19.80)
CIE-LCHlch(14.66, 19.89, 95.47°)
OKLaboklab(26.36% -0.0077 0.0491)
OKLCHoklch(26.36% 0.05 98.9)
XYZxyz(1.6798, 1.8456, 0.3826)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2504 #040A2B
analogous
#2B1204 #2B2504 #1E2B04
triadic
#2B2504 #042B25 #25042B
tetradic
#2B2504 #042B12 #040A2B #2B041E
square
#2B2504 #042B12 #040A2B #2B041E
split-complementary
#2B2504 #041E2B #12042B
monochromatic
#1C1803 #1C1803 #2B2504 #635509 #9B850E

Accessibility & contrast

On white

15.34
#2B2504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2B2504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2504
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2504#FFFFFF#000000##FFFFFF
##2B25041.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#2F211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b2504;
/* rgb */ color: rgb(43, 37, 4);
/* oklch */ color: oklch(26.4% 0.050 98.9);
Tailwind
colors: {
  custom: {
    50: '#655f48',
    500: '#2b2504',
    950: '#000000',
  },
}
SCSS
$custom: #2b2504;
$custom-light: #655f48;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2504",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 50.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26363,
    "c": 0.0497,
    "h": 98.9
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#2B2504
secondary
#1D296E
accent
#4EF92E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2504

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

Preview Lab → · Contrast checker → · Palette generator →

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