Bonsai color: hex code #787B54

#787B54 rgb(120, 123, 84)
Shades of yellow

Bonsai has the hex code #787B54. It is a grayish yellow.

In the RGB color model it is made of 47.1% red, 48.2% green and 32.9% blue (120, 123, 84).

Its hue angle is 65°, with 19% saturation and 41% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 32% yellow and 52% black.

Black text is the more readable choice on this background (contrast 4.76:1).

Bonsai (#787B54) color codes

HEX#787B54
RGBrgb(120, 123, 84)
RGB percentrgb(47.1%, 48.2%, 32.9%)
HSLhsl(65, 19%, 41%)
HSV / HSBhsv(65, 32%, 48%)
CMYKcmyk(2%, 0%, 32%, 52%)
CIE LABlab(50.45, -7.91, 21)
CIE LCHlch(50.45, 22.44, 110.63)
CIE XYZxyz(16.429, 18.799, 11.149)
Decimal7895892
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Bonsai, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #787B54RatioAAAAAAA large
Sample text4.76:1PassFailPass
Sample text4.41:1FailFailPass
#787B54 as text onRatioAAAAAAA large
Sample text4.41:1FailFailPass
Sample text4.76:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #787B54 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #787b54; }
.text { color: #787b54; }
.border { border: 2px solid #787b54; }
.transparent { background-color: rgb(120 123 84 / 50%); }
.gradient { background: linear-gradient(to right, #787b54, #647b54); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

See #787B54 on its hex code page

Questions

What color is #787B54?
#787B54 is a grayish yellow known as Bonsai. It belongs to the yellow family of colors.
What is the RGB value of Bonsai?
The RGB value is 120, 123, 84: 120 red, 123 green and 84 blue on a 0 to 255 scale.
What is the complementary color of Bonsai?
The complementary color is #57547B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787B54?
Black text. Black text has a contrast ratio of 4.76:1 and white text 4.41:1. WCAG asks for at least 4.5:1 for normal text.