Skip to content

#6f7313

a dark, vivid yellow · warm · closest name: Olive

RGB
111, 115, 19
HSL
63°, 72%, 26%
CMYK
4, 0, 84, 55
Luminance
0.1569

At a glance

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

Hex
#6f7313
Hue
63°
yellow
Saturation
72%
vivid
Lightness
26%
dark
Brightness
45%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1569
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
5.08:1
Closest name
Olive
ΔE2000 6.1
Where it sits
Hue63° of 360°
Saturation72%
Lightness26%
Temperature
Warm ← → Cool27% 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#6f7313
RGBrgb(111, 115, 19)
HSLhsl(63, 72%, 26%)
CMYKcmyk(4%, 0%, 84%, 55%)
LABlab(46.6 -13.3 47.7)
LCHlch(46.6 49.5 105.6)
OKLCHoklch(0.535 0.112 112.1)
Decimal7303955
Display P3color(display-p3 0.435 0.451 0.075)

Copy-ready code

/* CSS */
color: #6f7313;
background-color: #6f7313;
/* Tailwind (arbitrary) */
class="text-[#6f7313] bg-[#6f7313]"
/* SCSS */
$brand: #6f7313;
/* SwiftUI */
Color(red: 0.435, green: 0.451, blue: 0.075)
/* Android */
Color.parseColor("#6f7313")
/* Flutter */
Color(0xFF6F7313)
/* Python / OpenCV (BGR) */
(19, 115, 111)

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 #6f7313 · 5.08:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.08:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.14:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6f7313 as text scores 5.08:1 on white and 4.14:1 on black.

Accessibility — WCAG contrast

Aa
#6f7313 on white: 5.08:1
AA ✓ pass · AA-large · AAA
Aa
#6f7313 on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7D6D00
deuteranopia · #7D6F1C
tritanopia · #776B62

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6f7313 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
#F8F8E7
#F1F3C9
#ECEF9F
#E2E76F
#D8DF3E
#CBD223
#A9AF1D
#878C17
#6f7313
#3D3F0D
Base = 900Lightest = 50 · #FBFCF3Darkest = 950 · #3D3F0D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F1F3C9;
  --brand-300: #ECEF9F;
  --brand-400: #E2E76F;
  --brand-500: #D8DF3E;
  --brand-600: #CBD223;
  --brand-700: #A9AF1D;
  --brand-800: #878C17;
  --brand-900: #6f7313;
  --brand-950: #3D3F0D;
  --brand: #6f7313;
  --brand-ink: #ffffff;
}

Colors that work with #6f7313

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#102576
Second voice, not a rival
Dark variant#6A6D12
Hover, pressed, headers
Light variant#FBFBE9
Selected rows, tints
Dark surface#242414
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 #6f7313

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#171373
Analogous left#734713
Analogous right#3F7313
Split-complement 1#133F73
Split-complement 2#471373
Triadic 1#136F73
Triadic 2#73136F
Tetradic#137347

RGB percentages

Red43.5%
Green45.1%
Blue7.5%

CMYK percentages

Cyan3.5%
Magenta0.0%
Yellow83.5%
Key (black)54.9%

Color previews

#6f7313 text on a black background

contrast 4.14:1

Card sample

#6f7313 text on a white background

contrast 5.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(111, 115, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 115, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f7313;
background: linear-gradient(135deg, #6f7313, #2F7313);

Monochromatic scale

Palettes built from #6f7313

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.

#6f7313 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

Converts to four-color process without much drama. Proof it anyway.

#6f7313, answered

What color is #6f7313?

#6f7313 is a dark vivid yellow, closest to Olive (ΔE2000 6.1). It sits at 63° on the hue wheel with 72% saturation and 26% lightness, which reads as warm.

What is the RGB value of #6f7313?

rgb(111, 115, 19) — 111 red, 115 green and 19 blue out of 255, or 43.5% / 45.1% / 7.5% by channel.

Is #6f7313 a light or a dark color?

It is a dark color. Relative luminance is 0.1569 and perceived brightness is 42%, so white text on it reaches 5.08:1.

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

White. It scores 5.08:1 against #6f7313, versus 4.14:1 for black — AA at any size.

What is the complementary color of #6f7313?

#171373 sits directly opposite on the wheel. Softer options are the split-complements #133F73 and #471373, which give the same contrast with far less vibration.

What colors go well with #6f7313?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #102576 as an accent and #6A6D12 for hover and pressed states. For a palette, the analogous pair #734713 and #3F7313 stays calm, while #171373 is the loudest partner.

What is #6f7313 in CMYK for printing?

cmyk(4%, 0%, 84%, 55%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6f7313 warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #735413; nudged cooler, #4C7412.

Work with #6f7313 in the Color Lab