#2B2B04#2B2B04

#2B2B04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.056 H 109.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2B2B04
RGBrgb(43, 43, 4)
HSLhsl(60, 83%, 9%)
HSVhsv(60, 91%, 17%)
CMYKcmyk(0%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.75, -5.89, 22.44)
CIE-LCHlch(16.75, 23.20, 104.70°)
OKLaboklab(28.03% -0.0189 0.0532)
OKLCHoklch(28.03% 0.056 109.6)
XYZxyz(1.8821, 2.2502, 0.4500)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B04 #04042B
analogous
#2B1804 #2B2B04 #182B04
triadic
#2B2B04 #042B2B #2B042B
tetradic
#2B2B04 #042B18 #04042B #2B0418
square
#2B2B04 #042B18 #04042B #2B0418
split-complementary
#2B2B04 #04182B #18042B
monochromatic
#1C1C03 #1C1C03 #2B2B04 #636309 #9B9B0E

Accessibility & contrast

On white

14.48
#2B2B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B2B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B04
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B04#FFFFFF#000000##FFFFFF
##2B2B041.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#2F2823
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2b04;
/* rgb */ color: rgb(43, 43, 4);
/* oklch */ color: oklch(28.0% 0.056 109.6);
Tailwind
colors: {
  custom: {
    50: '#666449',
    500: '#2b2b04',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b04;
$custom-light: #666449;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b04",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2803,
    "c": 0.05644,
    "h": 109.6
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#2B2B04
secondary
#1D1D6E
accent
#2EF92E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2B04

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

Preview Lab → · Contrast checker → · Palette generator →

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