#2B2806#2B2806

#2B2806 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.051 H 104.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#2B2806
RGBrgb(43, 40, 6)
HSLhsl(55, 76%, 10%)
HSVhsv(55, 86%, 17%)
CMYKcmyk(0%, 7%, 86%, 83.1%)
CIE-LABlab(15.72, -3.74, 20.34)
CIE-LCHlch(15.72, 20.68, 100.42°)
OKLaboklab(27.22% -0.0125 0.049)
OKLCHoklch(27.22% 0.051 104.3)
XYZxyz(1.7880, 2.0444, 0.4727)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2806 #06092B
analogous
#2B1606 #2B2806 #1C2B06
triadic
#2B2806 #062B28 #28062B
tetradic
#2B2806 #062B16 #06092B #2B061C
square
#2B2806 #062B16 #06092B #2B061C
split-complementary
#2B2806 #061C2B #16062B
monochromatic
#1B1904 #1B1904 #2B2806 #615A0D #968C15

Accessibility & contrast

On white

14.91
#2B2806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B2806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2806
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2806#FFFFFF#000000##FFFFFF
##2B28061.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#2F2521
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2806;
/* rgb */ color: rgb(43, 40, 6);
/* oklch */ color: oklch(27.2% 0.051 104.3);
Tailwind
colors: {
  custom: {
    50: '#656149',
    500: '#2b2806',
    950: '#000000',
  },
}
SCSS
$custom: #2b2806;
$custom-light: #656149;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2806",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 55.135,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27215,
    "c": 0.05058,
    "h": 104.3
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#2B2806
secondary
#21276C
accent
#45F236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2806

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

Preview Lab → · Contrast checker → · Palette generator →

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