#2B2704#2B2704

#2B2704 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.052 H 102.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#2B2704
RGBrgb(43, 39, 4)
HSLhsl(54, 83%, 9%)
HSVhsv(54, 91%, 17%)
CMYKcmyk(0%, 9.3%, 90.7%, 83.1%)
CIE-LABlab(15.35, -3.25, 20.68)
CIE-LCHlch(15.35, 20.94, 98.92°)
OKLaboklab(26.91% -0.0115 0.0505)
OKLCHoklch(26.91% 0.052 102.8)
XYZxyz(1.7438, 1.9735, 0.4039)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2704 #04082B
analogous
#2B1404 #2B2704 #1C2B04
triadic
#2B2704 #042B27 #27042B
tetradic
#2B2704 #042B14 #04082B #2B041C
square
#2B2704 #042B14 #04082B #2B041C
split-complementary
#2B2704 #041C2B #14042B
monochromatic
#1C1903 #1C1903 #2B2704 #635A09 #9B8D0E

Accessibility & contrast

On white

15.06
#2B2704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2B2704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2704
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2704#FFFFFF#000000##FFFFFF
##2B27041.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2501
Deuteranopia (green-blind)
#2D2706
Tritanopia (blue-blind)
#2F2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b2704;
/* rgb */ color: rgb(43, 39, 4);
/* oklch */ color: oklch(26.9% 0.052 102.8);
Tailwind
colors: {
  custom: {
    50: '#656048',
    500: '#2b2704',
    950: '#000000',
  },
}
SCSS
$custom: #2b2704;
$custom-light: #656048;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2704",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 53.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26913,
    "c": 0.05175,
    "h": 102.8
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#2B2704
secondary
#1D256E
accent
#43F92E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2704

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

Preview Lab → · Contrast checker → · Palette generator →

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