#2B2906#2B2906

#2B2906 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.052 H 106.1°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2906
RGBrgb(43, 41, 6)
HSLhsl(57, 76%, 10%)
HSVhsv(57, 86%, 17%)
CMYKcmyk(0%, 4.7%, 86%, 83.1%)
CIE-LABlab(16.07, -4.41, 20.78)
CIE-LCHlch(16.07, 21.24, 101.97°)
OKLaboklab(27.49% -0.0144 0.0497)
OKLCHoklch(27.49% 0.052 106.1)
XYZxyz(1.8221, 2.1127, 0.4841)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2906 #06082B
analogous
#2B1706 #2B2906 #1B2B06
triadic
#2B2906 #062B29 #29062B
tetradic
#2B2906 #062B17 #06082B #2B061B
square
#2B2906 #062B17 #06082B #2B061B
split-complementary
#2B2906 #061B2B #17062B
monochromatic
#1B1A04 #1B1A04 #2B2906 #615C0D #968F15

Accessibility & contrast

On white

14.76
#2B2906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B2906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2906
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2906#FFFFFF#000000##FFFFFF
##2B29061.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#2E2908
Tritanopia (blue-blind)
#2F2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b2906;
/* rgb */ color: rgb(43, 41, 6);
/* oklch */ color: oklch(27.5% 0.052 106.1);
Tailwind
colors: {
  custom: {
    50: '#656249',
    500: '#2b2906',
    950: '#000000',
  },
}
SCSS
$custom: #2b2906;
$custom-light: #656249;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2906",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 56.757,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27493,
    "c": 0.05177,
    "h": 106.1
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#2B2906
secondary
#21256C
accent
#40F236
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2906

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

Preview Lab → · Contrast checker → · Palette generator →

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