Skip to content
Kolorvia
#8a8c28

Color #8a8c28

A moderately saturated dark yellow.

Conversions

HEX
#8a8c28
RGB
rgb(138, 140, 40)
HSL
hsl(61.2, 55.6%, 35.3%)
HSV / HSB
hsv(61.2, 71.4%, 54.9%)
CMYK
cmyk(1.4%, 0%, 71.4%, 45.1%)
LAB
lab(56.4, -13.47, 50.3)
LCH
lch(56.4, 52.07, 104.99)
OKLCH
oklch(62%, 0.1195, 110.57)
HWB
hwb(61.2, 15.7%, 45.1%)

Harmony colors

Complementary

#2a288c

Analogous

#8c5c28
#8a8c28
#588c28

Triadic

#8a8c28
#288a8c
#8c288a

Split-complementary

#8a8c28
#28588c
#5c288c

Tetradic

#8a8c28
#288c2a
#2a288c
#8c288a

Square

#8a8c28
#288c5c
#2a288c
#8c2858

Shades

Color #8a8c28 mixed toward black.

#737521
#5c5d1b
#454614
#2e2f0d
#171707

Tints

Color #8a8c28 mixed toward white.

#b4b734
#ccce54
#d9da7f
#e5e7a9
#f2f3d4

Tones

Color #8a8c28 mixed toward gray.

#828430
#7a7b39
#727341
#6a6b49
#626252

Accessibility

Aa White text on this color
3.58:1
Aa Black text on this color
5.86:1

Black text reads better on this background (5.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8b8b50 · ΔE 6.7

Deuteranopia

#8b8b56 · ΔE 8

Tritanopia

#8a6367 · ΔE 36.9

Achromatopsia

#878787 · ΔE 24.1

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

Code

CSS
background-color: #8a8c28;
Tailwind (arbitrary value)
bg-[#8a8c28]

Related colors

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

Frequently asked questions

#8a8c28 (#8a8c28) is rgb(138, 140, 40) in RGB.

No, #8a8c28 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #8a8c28, 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.