#2B2402#2B2402

#2B2402 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.1% C 0.051 H 97.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#2B2402
RGBrgb(43, 36, 2)
HSLhsl(50, 91%, 9%)
HSVhsv(50, 95%, 17%)
CMYKcmyk(0%, 16.3%, 95.3%, 83.1%)
CIE-LABlab(14.29, -1.39, 20.13)
CIE-LCHlch(14.29, 20.18, 93.95°)
OKLaboklab(26.06% -0.0067 0.0508)
OKLCHoklch(26.06% 0.051 97.5)
XYZxyz(1.6382, 1.7798, 0.3147)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2402 #02092B
analogous
#2B1002 #2B2402 #1E2B02
triadic
#2B2402 #022B24 #24022B
tetradic
#2B2402 #022B10 #02092B #2B021E
square
#2B2402 #022B10 #02092B #2B021E
split-complementary
#2B2402 #021E2B #10022B
monochromatic
#1D1801 #1D1801 #2B2402 #655505 #A08607

Accessibility & contrast

On white

15.49
#2B2402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2B2402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2402
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2402#FFFFFF#000000##FFFFFF
##2B24021.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#2B2503
Tritanopia (blue-blind)
#2F201D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b2402;
/* rgb */ color: rgb(43, 36, 2);
/* oklch */ color: oklch(26.1% 0.051 97.5);
Tailwind
colors: {
  custom: {
    50: '#655e47',
    500: '#2b2402',
    950: '#000000',
  },
}
SCSS
$custom: #2b2402;
$custom-light: #655e47;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2402",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 49.756,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26063,
    "c": 0.05125,
    "h": 97.5
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#2B2402
secondary
#192870
accent
#4DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2402

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

Preview Lab → · Contrast checker → · Palette generator →

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