#2B2805#2B2805

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

Color values

HEX#2B2805
RGBrgb(43, 40, 5)
HSLhsl(55, 79%, 9%)
HSVhsv(55, 88%, 17%)
CMYKcmyk(0%, 7%, 88.4%, 83.1%)
CIE-LABlab(15.71, -3.83, 20.73)
CIE-LCHlch(15.71, 21.08, 100.46°)
OKLaboklab(27.2% -0.0129 0.0501)
OKLCHoklch(27.2% 0.052 104.5)
XYZxyz(1.7825, 2.0422, 0.4438)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2805 #05082B
analogous
#2B1505 #2B2805 #1B2B05
triadic
#2B2805 #052B28 #28052B
tetradic
#2B2805 #052B15 #05082B #2B051B
square
#2B2805 #052B15 #05082B #2B051B
split-complementary
#2B2805 #051B2B #15052B
monochromatic
#1B1903 #1B1903 #2B2805 #625B0B #998E12

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2805#FFFFFF#000000##FFFFFF
##2B28051.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)
#2C2602
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#2F2521
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2805;
/* rgb */ color: rgb(43, 40, 5);
/* oklch */ color: oklch(27.2% 0.052 104.5);
Tailwind
colors: {
  custom: {
    50: '#656149',
    500: '#2b2805',
    950: '#000000',
  },
}
SCSS
$custom: #2b2805;
$custom-light: #656149;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2805",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 55.263,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27203,
    "c": 0.05171,
    "h": 104.5
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#2B2805
secondary
#1F256D
accent
#42F632
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2805

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

Preview Lab → · Contrast checker → · Palette generator →

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