Skip to content
Kolorvia
#787b40

Color #787b40

A muted dark yellow.

Conversions

HEX
#787b40
RGB
rgb(120, 123, 64)
HSL
hsl(63.1, 31.6%, 36.7%)
HSV / HSB
hsv(63.1, 48%, 48.2%)
CMYK
cmyk(2.4%, 0%, 48%, 51.8%)
LAB
lab(50.13, -10.39, 31.69)
LCH
lch(50.13, 33.35, 108.15)
OKLCH
oklch(56.7%, 0.0812, 111.29)
HWB
hwb(63.1, 25.1%, 51.8%)

Harmony colors

Complementary

#43407b

Analogous

#7b6140
#787b40
#5b7b40

Triadic

#787b40
#40787b
#7b4078

Split-complementary

#787b40
#405b7b
#61407b

Tetradic

#787b40
#407b43
#43407b
#7b4078

Square

#787b40
#407b61
#43407b
#7b405b

Shades

Color #787b40 mixed toward black.

#646735
#50522b
#3c3e20
#282915
#14150b

Tints

Color #787b40 mixed toward white.

#9b9f52
#b2b571
#c5c895
#d8dab8
#eceddc

Tones

Color #787b40 mixed toward gray.

#747645
#6f714a
#6b6c4f
#666754
#626359

Accessibility

Aa White text on this color
4.46:1
Aa Black text on this color
4.71:1

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

Under color vision deficiencies

Protanopia

#797953 · ΔE 5.2

Deuteranopia

#797957 · ΔE 6.3

Tritanopia

#785f62 · ΔE 29.9

Achromatopsia

#777777 · ΔE 19.5

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

Code

CSS
background-color: #787b40;
Tailwind (arbitrary value)
bg-[#787b40]

Related colors

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

Frequently asked questions

#787b40 (#787b40) is rgb(120, 123, 64) in RGB.

No, #787b40 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 #787b40, 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.