Skip to content

#6a720d

a deep, electric yellow · warm · closest name: Olive

RGB
106, 114, 13
HSL
65°, 80%, 25%
CMYK
7, 0, 89, 55
Luminance
0.1513

At a glance

Every number on this page in one read: what #6a720d is made of, how bright it looks, and which way it leans.

Hex
#6a720d
Hue
65°
yellow
Saturation
80%
electric
Lightness
25%
deep
Brightness
45%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1513
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.22:1
Closest name
Olive
ΔE2000 6.9
Where it sits
Hue65° of 360°
Saturation80%
Lightness25%
Temperature
Warm ← → Cool29% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#6a720d
RGBrgb(106, 114, 13)
HSLhsl(65, 80%, 25%)
CMYKcmyk(7%, 0%, 89%, 55%)
LABlab(45.8 -15.3 48.5)
LCHlch(45.8 50.9 107.6)
OKLCHoklch(0.528 0.115 114.6)
Decimal6976013
Display P3color(display-p3 0.416 0.447 0.051)

Copy-ready code

/* CSS */
color: #6a720d;
background-color: #6a720d;
/* Tailwind (arbitrary) */
class="text-[#6a720d] bg-[#6a720d]"
/* SCSS */
$brand: #6a720d;
/* SwiftUI */
Color(red: 0.416, green: 0.447, blue: 0.051)
/* Android */
Color.parseColor("#6a720d")
/* Flutter */
Color(0xFF6A720D)
/* Python / OpenCV (BGR) */
(13, 114, 106)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #6a720d · 5.22:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.22:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.03:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6a720d as text scores 5.22:1 on white and 4.03:1 on black.

Accessibility — WCAG contrast

Aa
#6a720d on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#6a720d on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7B6C00
deuteranopia · #7B6D18
tritanopia · #726B60

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6a720d is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF3
#F8F9E6
#F1F5C7
#ECF39A
#E3EE68
#DAE836
#CCDC19
#AAB715
#889211
#6a720d
#3E420A
Base = 900Lightest = 50 · #FBFCF3Darkest = 950 · #3E420A
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F9E6;
  --brand-200: #F1F5C7;
  --brand-300: #ECF39A;
  --brand-400: #E3EE68;
  --brand-500: #DAE836;
  --brand-600: #CCDC19;
  --brand-700: #AAB715;
  --brand-800: #889211;
  --brand-900: #6a720d;
  --brand-950: #3E420A;
  --brand: #6a720d;
  --brand-ink: #ffffff;
}

Colors that work with #6a720d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAFAF4
Tinted page background
Border#E9EDC0
Hairlines and dividers
Muted text#949B4B
Captions on the surface
Accent#0A1D75
Second voice, not a rival
Dark variant#6A720D
Hover, pressed, headers
Light variant#FBFCE8
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #6a720d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#150D72
Analogous left#72480D
Analogous right#37720D
Split-complement 1#0D3772
Split-complement 2#480D72
Triadic 1#0D6A72
Triadic 2#720D6A
Tetradic#0D7248

RGB percentages

Red41.6%
Green44.7%
Blue5.1%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow88.6%
Key (black)55.3%

Color previews

#6a720d text on a black background

contrast 4.03:1

Card sample

#6a720d text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6a720d;
Background color
Panel with #6a720d background
background-color: #6a720d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6a720d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(106, 114, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(106, 114, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6a720d;
background: linear-gradient(135deg, #6a720d, #27720D);

Monochromatic scale

Palettes built from #6a720d

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#6a720d in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6a720d, answered

What color is #6a720d?

#6a720d is a deep electric yellow, closest to Olive (ΔE2000 6.9). It sits at 65° on the hue wheel with 80% saturation and 25% lightness, which reads as warm.

What is the RGB value of #6a720d?

rgb(106, 114, 13) — 106 red, 114 green and 13 blue out of 255, or 41.6% / 44.7% / 5.1% by channel.

Is #6a720d a light or a dark color?

It is a dark color. Relative luminance is 0.1513 and perceived brightness is 41%, so white text on it reaches 5.22:1.

Should I use black or white text on #6a720d?

White. It scores 5.22:1 against #6a720d, versus 4.03:1 for black — AA at any size.

What is the complementary color of #6a720d?

#150D72 sits directly opposite on the wheel. Softer options are the split-complements #0D3772 and #480D72, which give the same contrast with far less vibration.

What colors go well with #6a720d?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #949B4B for secondary text, #0A1D75 as an accent and #6A720D for hover and pressed states. For a palette, the analogous pair #72480D and #37720D stays calm, while #150D72 is the loudest partner.

What is #6a720d in CMYK for printing?

cmyk(7%, 0%, 89%, 55%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #6a720d warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #72550D; nudged cooler, #45730C.

Work with #6a720d in the Color Lab