#2B2101#2B2101

#2B2101 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.2% C 0.050 H 91.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2101
RGBrgb(43, 33, 1)
HSLhsl(46, 95%, 9%)
HSVhsv(46, 98%, 17%)
CMYKcmyk(0%, 23.3%, 97.7%, 83.1%)
CIE-LABlab(13.25, 0.59, 19.18)
CIE-LCHlch(13.25, 19.18, 88.24°)
OKLaboklab(25.24% -0.0014 0.0502)
OKLCHoklch(25.24% 0.05 91.6)
XYZxyz(1.5457, 1.6036, 0.2568)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2101 #010B2B
analogous
#2B0C01 #2B2101 #202B01
triadic
#2B2101 #012B21 #21012B
tetradic
#2B2101 #012B0C #010B2B #2B0120
square
#2B2101 #012B0C #010B2B #2B0120
split-complementary
#2B2101 #01202B #0C012B
monochromatic
#1E1701 #1E1701 #2B2101 #674F02 #A37D04

Accessibility & contrast

On white

15.90
#2B2101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2101
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2101#FFFFFF#000000##FFFFFF
##2B21011.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2101;
/* rgb */ color: rgb(43, 33, 1);
/* oklch */ color: oklch(25.2% 0.050 91.6);
Tailwind
colors: {
  custom: {
    50: '#655c47',
    500: '#2b2101',
    950: '#000000',
  },
}
SCSS
$custom: #2b2101;
$custom-light: #655c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2101",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 1
  },
  "hsl": {
    "h": 45.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25242,
    "c": 0.05025,
    "h": 91.6
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#2B2101
secondary
#172C71
accent
#5CFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2101

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

Preview Lab → · Contrast checker → · Palette generator →

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