graf1x

Onion Color

Onion is a yellow color with hex code #2F270E. This page covers its meaning, all color values, harmonies, colors that go with onion, shades, tints, similar colors, CSS examples, FAQs, and WCAG contrast ratios.

Onion Color Values

HEX
#2F270E
RGB
47, 39, 14
HSL
45, 54%, 12%
HSV
45, 70%, 18%
CIE LAB
15.9, -0.2, 17.3
OKLCH
0.275, 0.041, 91.8
ISCC-NBS
Brown
Hue Family
Yellow

What Does Onion Mean?

Onion belongs to the yellow family of colors. Yellow is the brightest thing in daylight, which makes it impossible to ignore and easy to overdo. School buses and hazard tape exist to exploit that visibility. In artwork, small amounts of yellow energize a piece; large fields of it tire the eye surprisingly fast. Being on the dark side, Onion adds weight and depth. It suits text, shadows, and grounding elements more than wide-open backgrounds.

In the ISCC-NBS color naming system, Onion is classified as a brown (nearest centroid: dark olive brown, #3B3121).

Color Harmonies

Complementary

#2F270EOnion
#0E162FComplement

Analogous

#2F160EAnalogous 1
#2F270EOnion
#272F0EAnalogous 2

Triadic

#2F270EOnion
#0E2F27Triad 1
#270E2FTriad 2

Colors That Go With Onion

#2F270EOnion
#0E162FComplement

Onion and #0E162F are complements, parked opposite each other on the wheel. Together they hit maximum contrast, so a rough 70/30 split keeps the pairing from shouting.

#2F160EAnalogous 1
#2F270EOnion
#272F0EAnalogous 2

Analogous neighbors — #2F160E and #272F0E, which sit beside onion on the wheel. Pairings like this feel calm and settled, which suits backgrounds and gradients.

#2F270EOnion
#0E2F27Triad 1
#270E2FTriad 2

For an energetic three-color palette, pair onion with triadic partners #0E2F27 and #270E2F. All three sit evenly spaced around the wheel, so the scheme stays lively without clashing.

Build and test these combinations in our Color Wheel Tool or check text readability with the Contrast Checker.

Tints and Shades

Tints (lighter)

#6A5720
#A18530
#CBAD52
#DDC98D
#EDE3C4

Shades (darker)

#27200C
#1F1A09
#181307
#100D05
#080602

Similar Colors

CSS Examples

.text { color: #2F270E; }
.background { background-color: #2F270E; }
.border { border: 2px solid #2F270E; }
.shadow { box-shadow: 0 4px 6px #2F270E40; }

WCAG Contrast

14.82:1
vs White AA ✓
1.42:1
vs Black AA ✗

Frequently Asked Questions

What is the hex code for onion?

Onion has the hex code #2F270E. In RGB notation it is rgb(47, 39, 14), in HSL it is hsl(45, 54%, 12%), and its OKLCH value is 0.275, 0.041, 91.8.

What does the color onion mean?

Yellow-family colors like onion carry distinct psychological associations. Onion belongs to the yellow family of colors. Yellow is the brightest thing in daylight, which makes it impossible to ignore and easy to overdo. School buses and hazard tape exist to exploit that visibility. In artwork, small amounts of yellow energize a piece; large fields of it tire the eye surprisingly fast. Being on the dark side, Onion adds weight and depth. It suits text, shadows, and grounding elements more than wide-open backgrounds.

What colors go with onion?

Onion has three easy routes: its complement #0E162F for punch, its neighbors #2F160E and #272F0E for something calmer, or triadic partners #0E2F27 and #270E2F when you want energy.

Is onion a standard web color?

No — Onion is not a CSS keyword. Use its hex value #2F270E or any RGB/HSL equivalent in your stylesheets.

How do I make onion lighter or darker?

To lighten onion, add white to create tints; to darken it, add black to create shades. The tints and shades table above shows five computed steps of each, from #EDE3C4 (lightest tint) to #080602 (darkest shade).

About Onion

Onion is classified as a Brown in the ISCC-NBS color naming system, within the Yellow hue family. It has The color is recognized by Resene.

Use our Color Converter to convert #2F270E to any other color format, or explore the Color Wheel to find harmonious color combinations.