#2B280F#2B280F

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

Color values

HEX#2B280F
RGBrgb(43, 40, 15)
HSLhsl(54, 48%, 11%)
HSVhsv(54, 65%, 17%)
CMYKcmyk(0%, 7%, 65.1%, 83.1%)
CIE-LABlab(15.83, -2.90, 16.51)
CIE-LCHlch(15.83, 16.76, 99.98°)
OKLaboklab(27.34% -0.0088 0.0395)
OKLCHoklch(27.34% 0.04 102.5)
XYZxyz(1.8413, 2.0657, 0.7536)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B280F #0F122B
analogous
#2B1A0F #2B280F #202B0F
triadic
#2B280F #0F2B28 #280F2B
tetradic
#2B280F #0F2B1A #0F122B #2B0F20
square
#2B280F #0F2B1A #0F122B #2B0F20
split-complementary
#2B280F #0F202B #1A0F2B
monochromatic
#171508 #171508 #2B280F #58521F #867C2F

Accessibility & contrast

On white

14.86
#2B280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B280F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B280F#FFFFFF#000000##FFFFFF
##2B280F1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#2E2522
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b280f;
/* rgb */ color: rgb(43, 40, 15);
/* oklch */ color: oklch(27.3% 0.040 102.5);
Tailwind
colors: {
  custom: {
    50: '#65614e',
    500: '#2b280f',
    950: '#000000',
  },
}
SCSS
$custom: #2b280f;
$custom-light: #65614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b280f",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 53.571,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27338,
    "c": 0.04042,
    "h": 102.5
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#2B280F
secondary
#323764
accent
#5FD850
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B280F

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

Preview Lab → · Contrast checker → · Palette generator →

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