#402D02

Dark Yellow

HEX

RGB

HSL

About #402D02 Dark Yellow

#402D02 is a dark yellow color. In the RGB color model, it is composed of 64 red, 45 green, and 2 blue. In the HSL color space, it has a hue of 42°, saturation of 94%, and lightness of 13%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code & Gradients

Use #402D02 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

42°

Hue

94%

Saturation

13%

Lightness

Dark Yellow

Color Harmonies

Colors that work well with #402D02 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #402D02 against white and black backgrounds.

Aa#402D02 on White
Contrast Ratio13.17:1
AA AA Large AAA
Aa#402D02 on Black
Contrast Ratio1.59:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #402D02 across different color formats.

FormatValue
HEX#402D02
RGBrgb(64, 45, 2)
HSLhsl(42, 94%, 13%)
RGB Decimal64, 45, 2
RGB Percent25.1%, 17.6%, 0.8%
CMYK (approx.)0%, 30%, 97%, 75%

Related Palettes

12 palettes using #402D02 or similar colors

#28150B#4A2B1C#694330#92573A
#25250E#51511F#81812D#9D9D4E
#24220F#45432B#767237#959056
#24160F#532F1D#6A5043#956B56
#251E0E#443D2D#796534#8F7F5C
#241F0F#4E4422#6A6143#AC933E
#1F1614#51281F#7E3E2F#9F5B4C
#25180E#52341E#755238#927159
#232210#4C4824#6E6A40#A29B48
#25130E#502A20#803F2E#8D685E
#231310#502820#7C3E31#AC513E
#251A0E#493927#685845#A0784B