#2B260C#2B260C

#2B260C is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.7% C 0.042 H 98.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#2B260C
RGBrgb(43, 38, 12)
HSLhsl(50, 56%, 11%)
HSVhsv(50, 72%, 17%)
CMYKcmyk(0%, 11.6%, 72.1%, 83.1%)
CIE-LABlab(15.10, -1.86, 17.06)
CIE-LCHlch(15.10, 17.16, 96.22°)
OKLaboklab(26.74% -0.0062 0.0412)
OKLCHoklch(26.74% 0.042 98.5)
XYZxyz(1.7558, 1.9264, 0.6271)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B260C #0C112B
analogous
#2B160C #2B260C #202B0C
triadic
#2B260C #0C2B26 #260C2B
tetradic
#2B260C #0C2B16 #0C112B #2B0C20
square
#2B260C #0C2B16 #0C112B #2B0C20
split-complementary
#2B260C #0C202B #160C2B
monochromatic
#181507 #181507 #2B260C #5B5019 #8B7B27

Accessibility & contrast

On white

15.16
#2B260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B260C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B260C#FFFFFF#000000##FFFFFF
##2B260C1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b260c;
/* rgb */ color: rgb(43, 38, 12);
/* oklch */ color: oklch(26.7% 0.042 98.5);
Tailwind
colors: {
  custom: {
    50: '#65604c',
    500: '#2b260c',
    950: '#000000',
  },
}
SCSS
$custom: #2b260c;
$custom-light: #65604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b260c",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 50.323,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26744,
    "c": 0.04165,
    "h": 98.5
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#2B260C
secondary
#2C3666
accent
#61E048
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B260C

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

Preview Lab → · Contrast checker → · Palette generator →

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