Skip to content
Kolorvia
#7f7e1a

Color #7f7e1a

A moderately saturated dark yellow.

Conversions

HEX
#7f7e1a
RGB
rgb(127, 126, 26)
HSL
hsl(59.4, 66%, 30%)
HSV / HSB
hsv(59.4, 79.5%, 49.8%)
CMYK
cmyk(0%, 0.8%, 79.5%, 50.2%)
LAB
lab(51.28, -11.63, 50.19)
LCH
lch(51.28, 51.52, 103.05)
OKLCH
oklch(57.6%, 0.1158, 108.95)
HWB
hwb(59.4, 10.2%, 50.2%)

Harmony colors

Complementary

#1a1b7f

Analogous

#7f4b1a
#7f7e1a
#4e7f1a

Triadic

#7f7e1a
#1a7f7e
#7e1a7f

Split-complementary

#7f7e1a
#1a4e7f
#4b1a7f

Tetradic

#7f7e1a
#1b7f1a
#1a1b7f
#7e1a7f

Square

#7f7e1a
#1a7f4b
#1a1b7f
#7f1a4e

Shades

Color #7f7e1a mixed toward black.

#6a6916
#555411
#3f3f0d
#2a2a09
#151504

Tints

Color #7f7e1a mixed toward white.

#b0af24
#d7d539
#e1df6b
#ebea9c
#f5f4ce

Tones

Color #7f7e1a mixed toward gray.

#777622
#6e6d2b
#666533
#5d5d3c
#555544

Accessibility

Aa White text on this color
4.28:1
Aa Black text on this color
4.9:1

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

Under color vision deficiencies

Protanopia

#7f7f44 · ΔE 6.5

Deuteranopia

#7f7f4b · ΔE 8

Tritanopia

#7f575b · ΔE 36.3

Achromatopsia

#7a7a7a · ΔE 23.9

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

Code

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

Related colors

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

Frequently asked questions

#7f7e1a (#7f7e1a) is rgb(127, 126, 26) in RGB.

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