#28281A#28281A

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

Color values

HEX#28281A
RGBrgb(40, 40, 26)
HSLhsl(60, 21%, 13%)
HSVhsv(60, 35%, 16%)
CMYKcmyk(0%, 0%, 35%, 84.3%)
CIE-LABlab(15.71, -2.92, 9.25)
CIE-LCHlch(15.71, 9.70, 107.51°)
OKLaboklab(27.24% -0.0075 0.0232)
OKLCHoklch(27.24% 0.024 107.9)
XYZxyz(1.8203, 2.0433, 1.2756)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28281A #1A1A28
analogous
#28211A #28281A #21281A
triadic
#28281A #1A2828 #281A28
tetradic
#28281A #1A2821 #1A1A28 #281A21
square
#28281A #1A2821 #1A1A28 #281A21
split-complementary
#28281A #1A2128 #211A28
monochromatic
#13130C #13130C #28281A #4D4D32 #72724A

Accessibility & contrast

On white

14.91
#28281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#28281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28281A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28281A#FFFFFF#000000##FFFFFF
##28281A1.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)
#2A2719
Deuteranopia (green-blind)
#2B271B
Tritanopia (blue-blind)
#2A2624
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28281a;
/* rgb */ color: rgb(40, 40, 26);
/* oklch */ color: oklch(27.2% 0.024 107.9);
Tailwind
colors: {
  custom: {
    50: '#626156',
    500: '#28281a',
    950: '#000000',
  },
}
SCSS
$custom: #28281a;
$custom-light: #626156;
$custom-dark: #000000;
JSON
{
  "hex": "#28281a",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 21.212,
    "l": 12.941
  },
  "oklch": {
    "l": 0.27236,
    "c": 0.02439,
    "h": 107.9
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#28281A
secondary
#43435B
accent
#6ABE6A
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #28281A

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

Preview Lab → · Contrast checker → · Palette generator →

#28281A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva