Skip to content
Kolorvia
#28281e

Color #28281e

A nearly neutral, gray-leaning very dark yellow.

Conversions

HEX
#28281e
RGB
rgb(40, 40, 30)
HSL
hsl(60, 14.3%, 13.7%)
HSV / HSB
hsv(60, 25%, 15.7%)
CMYK
cmyk(0%, 0%, 25%, 84.3%)
LAB
lab(15.81, -2.18, 6.61)
LCH
lch(15.81, 6.96, 108.25)
OKLCH
oklch(27.4%, 0.0177, 107.41)
HWB
hwb(60, 11.8%, 84.3%)

Harmony colors

Complementary

#1e1e28

Analogous

#28231e
#28281e
#23281e

Triadic

#28281e
#1e2828
#281e28

Split-complementary

#28281e
#1e2328
#231e28

Tetradic

#28281e
#1e281e
#1e1e28
#281e28

Square

#28281e
#1e2823
#1e1e28
#281e23

Shades

Color #28281e mixed toward black.

#212119
#1b1b14
#14140f
#0d0d0a
#070705

Tints

Color #28281e mixed toward white.

#52523d
#7c7c5d
#a1a181
#c0c0ab
#e0e0d5

Tones

Color #28281e mixed toward gray.

#27271f
#262620
#252520
#252521
#242422

Accessibility

Aa White text on this color
14.87:1
Aa Black text on this color
1.41:1

White text reads better on this background (14.87:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#282821 · ΔE 1.7

Deuteranopia

#282821 · ΔE 1.7

Tritanopia

#282323 · ΔE 8.3

Achromatopsia

#272727 · ΔE 6.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #28281e;
Tailwind (arbitrary value)
bg-[#28281e]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#28281e (#28281e) is rgb(40, 40, 30) in RGB.

No, #28281e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #28281e, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.