Skip to content

#879913

a dark, electric yellow · warm · closest name: Olive Drab

RGB
135, 153, 19
HSL
68°, 78%, 34%
CMYK
12, 0, 88, 40
Luminance
0.2798

At a glance

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

Hex
#879913
Hue
68°
yellow
Saturation
78%
electric
Lightness
34%
dark
Brightness
60%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2798
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
6.60:1
Closest name
Olive Drab
ΔE2000 7.2
Where it sits
Hue68° of 360°
Saturation78%
Lightness34%
Temperature
Warm ← → Cool32% 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#879913
RGBrgb(135, 153, 19)
HSLhsl(68, 78%, 34%)
CMYKcmyk(12%, 0%, 88%, 40%)
LABlab(59.9 -22.4 59.8)
LCHlch(59.9 63.8 110.5)
OKLCHoklch(0.646 0.145 117.9)
Decimal8886547
Display P3color(display-p3 0.529 0.600 0.075)

Copy-ready code

/* CSS */
color: #879913;
background-color: #879913;
/* Tailwind (arbitrary) */
class="text-[#879913] bg-[#879913]"
/* SCSS */
$brand: #879913;
/* SwiftUI */
Color(red: 0.529, green: 0.600, blue: 0.075)
/* Android */
Color.parseColor("#879913")
/* Flutter */
Color(0xFF879913)
/* Python / OpenCV (BGR) */
(19, 153, 135)

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

Accessibility — WCAG contrast

Aa
#879913 on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#879913 on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A49000
deuteranopia · #A29123
tritanopia · #909082

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #879913 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.

#FBFCF3
#F6F9E6
#EEF5C7
#E7F39B
#DBEC69
#CFE637
#C0DA1B
#A0B517
#879913
#5D6911
#3A420B
Base = 800Lightest = 50 · #FBFCF3Darkest = 950 · #3A420B
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F6F9E6;
  --brand-200: #EEF5C7;
  --brand-300: #E7F39B;
  --brand-400: #DBEC69;
  --brand-500: #CFE637;
  --brand-600: #C0DA1B;
  --brand-700: #A0B517;
  --brand-800: #879913;
  --brand-900: #5D6911;
  --brand-950: #3A420B;
  --brand: #879913;
  --brand-ink: #000000;
}

Colors that work with #879913

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

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#E7EDC0
Hairlines and dividers
Muted text#909B4B
Captions on the surface
Accent#10209C
Second voice, not a rival
Dark variant#64710E
Hover, pressed, headers
Light variant#FAFCE8
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 #879913

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

Works well for
  • Headings from 24px up 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
  • Small text on white — under 4.5:1
  • 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#251399
Analogous left#996813
Analogous right#449913
Split-complement 1#134499
Split-complement 2#681399
Triadic 1#138799
Triadic 2#991387
Tetradic#139968

RGB percentages

Red52.9%
Green60.0%
Blue7.5%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow87.6%
Key (black)40.0%

Color previews

#879913 text on a black background

contrast 6.60:1

Card sample

#879913 text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #879913

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.

#879913 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.

#879913, answered

What color is #879913?

#879913 is a dark electric yellow, closest to Olive Drab (ΔE2000 7.2). It sits at 68° on the hue wheel with 78% saturation and 34% lightness, which reads as warm.

What is the RGB value of #879913?

rgb(135, 153, 19) — 135 red, 153 green and 19 blue out of 255, or 52.9% / 60% / 7.5% by channel.

Is #879913 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2798 and perceived brightness is 54%, so black text on it reaches 6.60:1.

Should I use black or white text on #879913?

Black. It scores 6.60:1 against #879913, versus 3.18:1 for white — AA at any size.

What is the complementary color of #879913?

#251399 sits directly opposite on the wheel. Softer options are the split-complements #134499 and #681399, which give the same contrast with far less vibration.

What colors go well with #879913?

For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #909B4B for secondary text, #10209C as an accent and #64710E for hover and pressed states. For a palette, the analogous pair #996813 and #449913 stays calm, while #251399 is the loudest partner.

What is #879913 in CMYK for printing?

cmyk(12%, 0%, 88%, 40%). 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 #879913 warm or cool?

Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #997A13; nudged cooler, #569B11.

Work with #879913 in the Color Lab