#2B2804#2B2804

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

Color values

HEX#2B2804
RGBrgb(43, 40, 4)
HSLhsl(55, 83%, 9%)
HSVhsv(55, 91%, 17%)
CMYKcmyk(0%, 7%, 90.7%, 83.1%)
CIE-LABlab(15.70, -3.92, 21.13)
CIE-LCHlch(15.70, 21.49, 100.50°)
OKLaboklab(27.19% -0.0134 0.0511)
OKLCHoklch(27.19% 0.053 104.7)
XYZxyz(1.7770, 2.0400, 0.4150)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2804 #04072B
analogous
#2B1504 #2B2804 #1B2B04
triadic
#2B2804 #042B28 #28042B
tetradic
#2B2804 #042B15 #04072B #2B041B
square
#2B2804 #042B15 #04072B #2B041B
split-complementary
#2B2804 #041B2B #15042B
monochromatic
#1C1A03 #1C1A03 #2B2804 #635C09 #9B900E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2804#FFFFFF#000000##FFFFFF
##2B28041.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)
#2D2601
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2804;
/* rgb */ color: rgb(43, 40, 4);
/* oklch */ color: oklch(27.2% 0.053 104.7);
Tailwind
colors: {
  custom: {
    50: '#656148',
    500: '#2b2804',
    950: '#000000',
  },
}
SCSS
$custom: #2b2804;
$custom-light: #656148;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2804",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 55.385,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2719,
    "c": 0.05286,
    "h": 104.7
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#2B2804
secondary
#1D236E
accent
#3EF92E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2804

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

Preview Lab → · Contrast checker → · Palette generator →

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