#28281E#28281E

#28281E is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.018 H 107.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#28281E
RGBrgb(40, 40, 30)
HSLhsl(60, 14%, 14%)
HSVhsv(60, 25%, 16%)
CMYKcmyk(0%, 0%, 25%, 84.3%)
CIE-LABlab(15.81, -2.18, 6.61)
CIE-LCHlch(15.81, 6.96, 108.28°)
OKLaboklab(27.35% -0.0053 0.0169)
OKLCHoklch(27.35% 0.018 107.5)
XYZxyz(1.8682, 2.0625, 1.5277)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28281E #1E1E28
analogous
#28231E #28281E #23281E
triadic
#28281E #1E2828 #281E28
tetradic
#28281E #1E2823 #1E1E28 #281E23
square
#28281E #1E2823 #1E1E28 #281E23
split-complementary
#28281E #1E2328 #231E28
monochromatic
#11110D #11110D #28281E #4B4B38 #6E6E52

Accessibility & contrast

On white

14.87
#28281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28281E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28281E#FFFFFF#000000##FFFFFF
##28281E1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#2A281E
Tritanopia (blue-blind)
#2A2725
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28281e;
/* rgb */ color: rgb(40, 40, 30);
/* oklch */ color: oklch(27.3% 0.018 107.5);
Tailwind
colors: {
  custom: {
    50: '#626159',
    500: '#28281e',
    950: '#000000',
  },
}
SCSS
$custom: #28281e;
$custom-light: #626159;
$custom-dark: #000000;
JSON
{
  "hex": "#28281e",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27346,
    "c": 0.0177,
    "h": 107.5
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#28281E
secondary
#494959
accent
#71B771
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #28281E

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

Preview Lab → · Contrast checker → · Palette generator →

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