Skip to content

#6c7d13

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

RGB
108, 125, 19
HSL
70°, 74%, 28%
CMYK
14, 0, 85, 51
Luminance
0.1790

At a glance

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

Hex
#6c7d13
Hue
70°
yellow
Saturation
74%
vivid
Lightness
28%
dark
Brightness
49%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1790
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
4.58:1
Closest name
Olive
ΔE2000 5.8
Where it sits
Hue70° of 360°
Saturation74%
Lightness28%
Temperature
Warm ← → Cool33% 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#6c7d13
RGBrgb(108, 125, 19)
HSLhsl(70, 74%, 28%)
CMYKcmyk(14%, 0%, 85%, 51%)
LABlab(49.4 -20.1 50.0)
LCHlch(49.4 53.9 111.8)
OKLCHoklch(0.557 0.124 119.1)
Decimal7109907
Display P3color(display-p3 0.424 0.490 0.075)

Copy-ready code

/* CSS */
color: #6c7d13;
background-color: #6c7d13;
/* Tailwind (arbitrary) */
class="text-[#6c7d13] bg-[#6c7d13]"
/* SCSS */
$brand: #6c7d13;
/* SwiftUI */
Color(red: 0.424, green: 0.490, blue: 0.075)
/* Android */
Color.parseColor("#6c7d13")
/* Flutter */
Color(0xFF6C7D13)
/* Python / OpenCV (BGR) */
(19, 125, 108)

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

Accessibility — WCAG contrast

Aa
#6c7d13 on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#6c7d13 on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #867500
deuteranopia · #84761F
tritanopia · #73766A

Color scale — 50 to 950

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

#FAFCF3
#F6F8E7
#ECF3C8
#E3F09E
#D5E96D
#C7E13C
#B8D420
#99B11B
#6c7d13
#596714
#38400C
Base = 800Lightest = 50 · #FAFCF3Darkest = 950 · #38400C
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F6F8E7;
  --brand-200: #ECF3C8;
  --brand-300: #E3F09E;
  --brand-400: #D5E96D;
  --brand-500: #C7E13C;
  --brand-600: #B8D420;
  --brand-700: #99B11B;
  --brand-800: #6c7d13;
  --brand-900: #596714;
  --brand-950: #38400C;
  --brand: #6c7d13;
  --brand-ink: #ffffff;
}

Colors that work with #6c7d13

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#F9FAF4
Tinted page background
Border#E5EDC0
Hairlines and dividers
Muted text#8E9B4B
Captions on the surface
Accent#101A80
Second voice, not a rival
Dark variant#606F11
Hover, pressed, headers
Light variant#F9FCE9
Selected rows, tints
Dark surface#222414
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 #6c7d13

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#24137D
Analogous left#7D5913
Analogous right#377D13
Split-complement 1#13377D
Split-complement 2#59137D
Triadic 1#136C7D
Triadic 2#7D136C
Tetradic#137D59

RGB percentages

Red42.4%
Green49.0%
Blue7.5%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow84.8%
Key (black)51.0%

Color previews

#6c7d13 text on a black background

contrast 4.58:1

Card sample

#6c7d13 text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 125, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 125, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c7d13;
background: linear-gradient(135deg, #6c7d13, #257D13);

Monochromatic scale

Palettes built from #6c7d13

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.

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

#6c7d13, answered

What color is #6c7d13?

#6c7d13 is a dark vivid yellow, closest to Olive (ΔE2000 5.8). It sits at 70° on the hue wheel with 74% saturation and 28% lightness, which reads as warm.

What is the RGB value of #6c7d13?

rgb(108, 125, 19) — 108 red, 125 green and 19 blue out of 255, or 42.4% / 49% / 7.5% by channel.

Is #6c7d13 a light or a dark color?

It is a dark color. Relative luminance is 0.1790 and perceived brightness is 44%, so white text on it reaches 4.58:1.

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

White. It scores 4.58:1 against #6c7d13, versus 4.58:1 for black — AA at any size.

What is the complementary color of #6c7d13?

#24137D sits directly opposite on the wheel. Softer options are the split-complements #13377D and #59137D, which give the same contrast with far less vibration.

What colors go well with #6c7d13?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8E9B4B for secondary text, #101A80 as an accent and #606F11 for hover and pressed states. For a palette, the analogous pair #7D5913 and #377D13 stays calm, while #24137D is the loudest partner.

What is #6c7d13 in CMYK for printing?

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

Is #6c7d13 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D6713; nudged cooler, #457E12.

Work with #6c7d13 in the Color Lab