Skip to content
Kolorvia
#2a2f02

Color #2a2f02

A vivid, highly saturated very dark yellow.

Conversions

HEX
#2a2f02
RGB
rgb(42, 47, 2)
HSL
hsl(66.7, 91.8%, 9.6%)
HSV / HSB
hsv(66.7, 95.7%, 18.4%)
CMYK
cmyk(10.6%, 0%, 95.7%, 81.6%)
LAB
lab(18.05, -9.15, 24.81)
LCH
lch(18.05, 26.44, 110.24)
OKLCH
oklch(29%, 0.0641, 116.09)
HWB
hwb(66.7, 0.8%, 81.6%)

Harmony colors

Complementary

#07022f

Analogous

#2f1d02
#2a2f02
#132f02

Triadic

#2a2f02
#022a2f
#2f022a

Split-complementary

#2a2f02
#02132f
#1d022f

Tetradic

#2a2f02
#022f07
#07022f
#2f022a

Square

#2a2f02
#022f1d
#07022f
#2f0213

Shades

Color #2a2f02 mixed toward black.

#232702
#1c1f01
#151701
#0e1001
#070800

Tints

Color #2a2f02 mixed toward white.

#6c7905
#aec208
#def622
#e9f96c
#f4fcb5

Tones

Color #2a2f02 mixed toward gray.

#272b06
#242709
#21240d
#1e2011
#1b1c15

Accessibility

Aa White text on this color
13.94:1
Aa Black text on this color
1.51:1

White text reads better on this background (13.94:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2c2c15 · ΔE 6

Deuteranopia

#2c2c18 · ΔE 7.1

Tritanopia

#2a1e1f · ΔE 24

Achromatopsia

#2c2c2c · ΔE 17.2

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

Code

CSS
background-color: #2a2f02;
Tailwind (arbitrary value)
bg-[#2a2f02]

Related colors

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

Frequently asked questions

#2a2f02 (#2a2f02) is rgb(42, 47, 2) in RGB.

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