Skip to content

#6A7204 Color

#6A7204 is rgb(106, 114, 4) in RGB, hsl(64, 93%, 23%) in HSL, and about cmyk(7%, 0%, 96%, 55%) in CMYK. It has no registered color name of its own — the closest is Olive (#808000), clearly related but distinguishable side by side at ΔE 9.2. White text is the more readable choice on this background.

#6A7204
HEX#6A7204
RGBrgb(106, 114, 4)
HSLhsl(64, 93%, 23%)
HSVhsv(64, 96%, 45%)
CMYKcmyk(7%, 0%, 96%, 55%)
OKLCHoklch(52.7% 0.118 114.6)
LABlab(46.01% -12.35 49.81)
LCHlch(46.01% 51.32 103.92)

What #6A7204 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 #6A7204, 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.

#6A7204 Channel Values

How #6A7204 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 106 · G 114 · B 48-bit channels as sent to the display
HSLH 64° · S 93% · L 23%Easiest model for building lighter and darker variants
HSVH 64° · S 96% · V 45%Matches the picker in most design tools
CMYKC 7% · M 0% · Y 96% · K 55%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.22:1 vs white · 4.02:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #6A7204 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 text5.22:1AA normal AA large AAA normal
Fails AABlack text4.02:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #6A7204 in the contrast checker.

Colors That Go With #6A7204

Pairings derived from color-wheel relationships. The complementary color sits opposite #6A7204; 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 #6A7204

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 #6A7204.

How #6A7204 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#6A7204
Protanopia#717104
Protanomaly#6E7104
Deuteranopia#6F6F06
Deuteranomaly#6D7005
Tritanopia#716B6B
Tritanomaly#6E6E54
Achromatopsia#6C6C6C

Test a full palette in the color blindness simulator.

Using #6A7204 in Code

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

CSS custom property--color-6a7204: #6A7204;
CSS backgroundbackground-color: #6A7204;
Tailwind configcolors: { 'color-6a7204': '#6A7204' }
SwiftUIColor(red: 0.416, green: 0.447, blue: 0.016)
Android XML<color name="color_6a7204">#6A7204</color>
SVG fillfill="#6A7204"

More Yellow Colors

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

#6A7204 Frequently Asked Questions

What color is #6A7204?

#6A7204 is a dark yellow — rgb(106, 114, 4) in RGB and hsl(64, 93%, 23%) in HSL. It carries no registered color name of its own; the closest named color is Olive (#808000), which is clearly related but distinguishable side by side at a CIE76 distance of 9.2.

What is the RGB value of #6A7204?

#6A7204 is rgb(106, 114, 4) — red 106, green 114, and blue 4 on the 0-255 scale.

What is the CMYK value of #6A7204?

#6A7204 converts to approximately cmyk(7%, 0%, 96%, 55%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #6A7204 be black or white?

White text is the more readable choice. #6A7204 scores 5.22:1 against white and 4.02:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #6A7204 as a CSS color keyword?

No. #6A7204 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 olive (#808000) at a CIE76 distance of 9.2, which is clearly related but distinguishable side by side.

Open #6A7204 in a Tool

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