#2B2102#2B2102

#2B2102 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.3% C 0.049 H 91.0°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2102
RGBrgb(43, 33, 2)
HSLhsl(45, 91%, 9%)
HSVhsv(45, 95%, 17%)
CMYKcmyk(0%, 23.3%, 95.3%, 83.1%)
CIE-LABlab(13.27, 0.68, 18.79)
CIE-LCHlch(13.27, 18.80, 87.92°)
OKLaboklab(25.26% -0.0008 0.0489)
OKLCHoklch(25.26% 0.049 91)
XYZxyz(1.5512, 1.6058, 0.2857)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2102 #020C2B
analogous
#2B0D02 #2B2102 #212B02
triadic
#2B2102 #022B21 #21022B
tetradic
#2B2102 #022B0D #020C2B #2B0221
square
#2B2102 #022B0D #020C2B #2B0221
split-complementary
#2B2102 #02212B #0D022B
monochromatic
#1D1601 #1D1601 #2B2102 #654E05 #A07B07

Accessibility & contrast

On white

15.89
#2B2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2B2102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2102
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2102#FFFFFF#000000##FFFFFF
##2B21021.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#292303
Tritanopia (blue-blind)
#301D1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b2102;
/* rgb */ color: rgb(43, 33, 2);
/* oklch */ color: oklch(25.3% 0.049 91.0);
Tailwind
colors: {
  custom: {
    50: '#655c47',
    500: '#2b2102',
    950: '#000000',
  },
}
SCSS
$custom: #2b2102;
$custom-light: #655c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2102",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 45.366,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25256,
    "c": 0.04893,
    "h": 91
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#2B2102
secondary
#192E70
accent
#5DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2102

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

Preview Lab → · Contrast checker → · Palette generator →

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