#2B2407#2B2407

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

Color values

HEX#2B2407
RGBrgb(43, 36, 7)
HSLhsl(48, 72%, 10%)
HSVhsv(48, 84%, 17%)
CMYKcmyk(0%, 16.3%, 83.7%, 83.1%)
CIE-LABlab(14.35, -0.94, 18.18)
CIE-LCHlch(14.35, 18.20, 92.97°)
OKLaboklab(26.13% -0.0044 0.045)
OKLCHoklch(26.13% 0.045 95.5)
XYZxyz(1.6656, 1.7908, 0.4589)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2407 #070E2B
analogous
#2B1207 #2B2407 #202B07
triadic
#2B2407 #072B24 #24072B
tetradic
#2B2407 #072B12 #070E2B #2B0720
square
#2B2407 #072B12 #070E2B #2B0720
split-complementary
#2B2407 #07202B #12072B
monochromatic
#1A1604 #1A1604 #2B2407 #605010 #947C18

Accessibility & contrast

On white

15.46
#2B2407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2407
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2407#FFFFFF#000000##FFFFFF
##2B24071.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292304
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#2F211E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b2407;
/* rgb */ color: rgb(43, 36, 7);
/* oklch */ color: oklch(26.1% 0.045 95.5);
Tailwind
colors: {
  custom: {
    50: '#655e4a',
    500: '#2b2407',
    950: '#000000',
  },
}
SCSS
$custom: #2b2407;
$custom-light: #655e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2407",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 7
  },
  "hsl": {
    "h": 48.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26132,
    "c": 0.0452,
    "h": 95.5
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#2B2407
secondary
#23316B
accent
#5CEF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B2407

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

Preview Lab → · Contrast checker → · Palette generator →

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