Skip to content
Kolorvia
#7f7862

Color #7f7862

A nearly neutral, gray-leaning medium yellow.

Conversions

HEX
#7f7862
RGB
rgb(127, 120, 98)
HSL
hsl(45.5, 12.9%, 44.1%)
HSV / HSB
hsv(45.5, 22.8%, 49.8%)
CMYK
cmyk(0%, 5.5%, 22.8%, 50.2%)
LAB
lab(50.48, -1.19, 13.07)
LCH
lch(50.48, 13.12, 95.2)
OKLCH
oklch(57.3%, 0.0335, 92.39)
HWB
hwb(45.5, 38.4%, 50.2%)

Harmony colors

Complementary

#62697f

Analogous

#7f6962
#7f7862
#777f62

Triadic

#7f7862
#627f78
#78627f

Split-complementary

#7f7862
#62777f
#69627f

Tetradic

#7f7862
#697f62
#62697f
#78627f

Square

#7f7862
#627f69
#62697f
#7f6277

Shades

Color #7f7862 mixed toward black.

#6a6452
#555041
#3f3c31
#2a2821
#151410

Tints

Color #7f7862 mixed toward white.

#989079
#aca694
#c1bcaf
#d6d3c9
#eae9e4

Tones

Color #7f7862 mixed toward gray.

#7d7764
#7a7567
#787469
#75736c
#73726e

Accessibility

Aa White text on this color
4.41:1
Aa Black text on this color
4.77:1

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

Under color vision deficiencies

Protanopia

#7c7c68 · ΔE 3.7

Deuteranopia

#7c7d69 · ΔE 4.3

Tritanopia

#7f6c6d · ΔE 15.5

Achromatopsia

#787878 · ΔE 10.2

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

Code

CSS
background-color: #7f7862;
Tailwind (arbitrary value)
bg-[#7f7862]

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

Frequently asked questions

#7f7862 (#7f7862) is rgb(127, 120, 98) in RGB.

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