Skip to content

#6b6f13

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

RGB
107, 111, 19
HSL
63°, 71%, 26%
CMYK
4, 0, 83, 57
Luminance
0.1454

At a glance

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

Hex
#6b6f13
Hue
63°
yellow
Saturation
71%
vivid
Lightness
26%
dark
Brightness
44%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1454
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
5.37:1
Closest name
Olive
ΔE2000 7.6
Where it sits
Hue63° of 360°
Saturation71%
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#6b6f13
RGBrgb(107, 111, 19)
HSLhsl(63, 71%, 26%)
CMYKcmyk(4%, 0%, 83%, 57%)
LABlab(45.0 -13.0 46.2)
LCHlch(45.0 48.0 105.8)
OKLCHoklch(0.521 0.108 112.2)
Decimal7040787
Display P3color(display-p3 0.420 0.435 0.075)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#6b6f13 on white: 5.37:1
AA ✓ pass · AA-large · AAA
Aa
#6b6f13 on black: 3.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #786900
deuteranopia · #786B1C
tritanopia · #73685E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6b6f13 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
#F7F8E7
#F1F3C9
#EBEF9F
#E1E66F
#D7DE3F
#CAD124
#A8AE1E
#868B18
#6b6f13
#3D3F0D
Base = 900Lightest = 50 · #FBFCF3Darkest = 950 · #3D3F0D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F8E7;
  --brand-200: #F1F3C9;
  --brand-300: #EBEF9F;
  --brand-400: #E1E66F;
  --brand-500: #D7DE3F;
  --brand-600: #CAD124;
  --brand-700: #A8AE1E;
  --brand-800: #868B18;
  --brand-900: #6b6f13;
  --brand-950: #3D3F0D;
  --brand: #6b6f13;
  --brand-ink: #ffffff;
}

Colors that work with #6b6f13

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#979B4B
Captions on the surface
Accent#102472
Second voice, not a rival
Dark variant#696D13
Hover, pressed, headers
Light variant#FAFBE9
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 #6b6f13

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#17136F
Analogous left#6F4513
Analogous right#3D6F13
Split-complement 1#133D6F
Split-complement 2#45136F
Triadic 1#136B6F
Triadic 2#6F136B
Tetradic#136F45

RGB percentages

Red42.0%
Green43.5%
Blue7.5%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow82.9%
Key (black)56.5%

Color previews

#6b6f13 text on a black background

contrast 3.91:1

Card sample

#6b6f13 text on a white background

contrast 5.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6b6f13

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.

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

#6b6f13, answered

What color is #6b6f13?

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

What is the RGB value of #6b6f13?

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

Is #6b6f13 a light or a dark color?

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

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

White. It scores 5.37:1 against #6b6f13, versus 3.91:1 for black — AA at any size.

What is the complementary color of #6b6f13?

#17136F sits directly opposite on the wheel. Softer options are the split-complements #133D6F and #45136F, which give the same contrast with far less vibration.

What colors go well with #6b6f13?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #979B4B for secondary text, #102472 as an accent and #696D13 for hover and pressed states. For a palette, the analogous pair #6F4513 and #3D6F13 stays calm, while #17136F is the loudest partner.

What is #6b6f13 in CMYK for printing?

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

Is #6b6f13 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 #6F5113; nudged cooler, #4A7012.

Work with #6b6f13 in the Color Lab