#28261D#28261D

#28261D is a dark, near-neutral yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.016 H 96.9°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#28261D
RGBrgb(40, 38, 29)
HSLhsl(49, 16%, 14%)
HSVhsv(49, 28%, 16%)
CMYKcmyk(0%, 5%, 27.5%, 84.3%)
CIE-LABlab(15.09, -1.00, 6.32)
CIE-LCHlch(15.09, 6.40, 99.00°)
OKLaboklab(26.77% -0.002 0.0162)
OKLCHoklch(26.77% 0.016 96.9)
XYZxyz(1.7900, 1.9261, 1.4396)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28261D #1D1F28
analogous
#28201D #28261D #24281D
triadic
#28261D #1D2826 #261D28
tetradic
#28261D #1D2820 #1D1F28 #281D24
square
#28261D #1D2820 #1D1F28 #281D24
split-complementary
#28261D #1D2428 #201D28
monochromatic
#12110D #12110D #28261D #4B4837 #6F6950

Accessibility & contrast

On white

15.16
#28261D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#28261D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28261D
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28261D#FFFFFF#000000##FFFFFF
##28261D1.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)
#28251C
Deuteranopia (green-blind)
#28261D
Tritanopia (blue-blind)
#2A2524
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #28261d;
/* rgb */ color: rgb(40, 38, 29);
/* oklch */ color: oklch(26.8% 0.016 96.9);
Tailwind
colors: {
  custom: {
    50: '#626058',
    500: '#28261d',
    950: '#000000',
  },
}
SCSS
$custom: #28261d;
$custom-light: #626058;
$custom-dark: #000000;
JSON
{
  "hex": "#28261d",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 29
  },
  "hsl": {
    "h": 49.091,
    "s": 15.942,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26771,
    "c": 0.01627,
    "h": 96.9
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#28261D
secondary
#474B59
accent
#7CB96F
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #28261D

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

Preview Lab → · Contrast checker → · Palette generator →

#28261D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva