#2B280C#2B280C

#2B280C is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.044 H 103.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2B280C
RGBrgb(43, 40, 12)
HSLhsl(54, 56%, 11%)
HSVhsv(54, 72%, 17%)
CMYKcmyk(0%, 7%, 72.1%, 83.1%)
CIE-LABlab(15.79, -3.21, 17.94)
CIE-LCHlch(15.79, 18.22, 100.15°)
OKLaboklab(27.29% -0.0101 0.0429)
OKLCHoklch(27.29% 0.044 103.2)
XYZxyz(1.8215, 2.0578, 0.6490)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B280C #0C0F2B
analogous
#2B180C #2B280C #1E2B0C
triadic
#2B280C #0C2B28 #280C2B
tetradic
#2B280C #0C2B18 #0C0F2B #2B0C1E
square
#2B280C #0C2B18 #0C0F2B #2B0C1E
split-complementary
#2B280C #0C1E2B #180C2B
monochromatic
#181607 #181607 #2B280C #5B5519 #8B8127

Accessibility & contrast

On white

14.88
#2B280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B280C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B280C#FFFFFF#000000##FFFFFF
##2B280C1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2609
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#2F2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b280c;
/* rgb */ color: rgb(43, 40, 12);
/* oklch */ color: oklch(27.3% 0.044 103.2);
Tailwind
colors: {
  custom: {
    50: '#65614c',
    500: '#2b280c',
    950: '#000000',
  },
}
SCSS
$custom: #2b280c;
$custom-light: #65614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b280c",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 54.194,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27292,
    "c": 0.04403,
    "h": 103.2
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#2B280C
secondary
#2C3266
accent
#57E048
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B280C

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

Preview Lab → · Contrast checker → · Palette generator →

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