Skip to content

#332F1F Color

#332F1F is rgb(51, 47, 31) in RGB, hsl(48, 24%, 16%) in HSL, and about cmyk(0%, 8%, 39%, 80%) in CMYK. It has no registered color name of its own — the closest is Dark Olive (#3C341F), very hard to tell apart at ΔE 4.74. White text is the more readable choice on this background.

#332F1F
HEX#332F1F
RGBrgb(51, 47, 31)
HSLhsl(48, 24%, 16%)
HSVhsv(48, 39%, 20%)
CMYKcmyk(0%, 8%, 39%, 80%)
OKLCHoklch(30.5% 0.027 95.8)
LABlab(19.46% -0.39 11.00)
LCHlch(19.46% 11.01 92.02)

What #332F1F Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #332F1F, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#332F1F Channel Values

How #332F1F breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 51 · G 47 · B 318-bit channels as sent to the display
HSLH 48° · S 24% · L 16%Easiest model for building lighter and darker variants
HSVH 48° · S 39% · V 20%Matches the picker in most design tools
CMYKC 0% · M 8% · Y 39% · K 80%Approximate ink mix; confirm with an ICC profile before printing
Luminance13.4:1 vs white · 1.57:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #332F1F background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text13.4:1AA normal AA large AAA normal
Fails AABlack text1.57:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #332F1F in the contrast checker.

Colors That Go With #332F1F

Pairings derived from color-wheel relationships. The complementary color sits opposite #332F1F; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #332F1F

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #332F1F.

How #332F1F Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#332F1F
Protanopia#30301F
Protanomaly#312F1F
Deuteranopia#30301F
Deuteranomaly#31301F
Tritanopia#352D2D
Tritanomaly#342E28
Achromatopsia#2F2F2F

Test a full palette in the color blindness simulator.

Using #332F1F in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-332f1f: #332F1F;
CSS backgroundbackground-color: #332F1F;
Tailwind configcolors: { 'color-332f1f': '#332F1F' }
SwiftUIColor(red: 0.200, green: 0.184, blue: 0.122)
Android XML<color name="color_332f1f">#332F1F</color>
SVG fillfill="#332F1F"

More Yellow Colors

#332F1F sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#332F1F Frequently Asked Questions

What color is #332F1F?

#332F1F is a darkest yellow — rgb(51, 47, 31) in RGB and hsl(48, 24%, 16%) in HSL. It carries no registered color name of its own; the closest named color is Dark Olive (#3C341F), which is very hard to tell apart at a CIE76 distance of 4.74.

What is the RGB value of #332F1F?

#332F1F is rgb(51, 47, 31) — red 51, green 47, and blue 31 on the 0-255 scale.

What is the CMYK value of #332F1F?

#332F1F converts to approximately cmyk(0%, 8%, 39%, 80%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #332F1F be black or white?

White text is the more readable choice. #332F1F scores 13.4:1 against white and 1.57:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #332F1F as a CSS color keyword?

No. #332F1F is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is black (#000000) at a CIE76 distance of 22.36, which is visibly different.

Open #332F1F in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.