Skip to content

#86830c

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

RGB
134, 131, 12
HSL
59°, 84%, 29%
CMYK
0, 2, 91, 48
Luminance
0.2133

At a glance

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

Hex
#86830c
Hue
59°
yellow
Saturation
84%
electric
Lightness
29%
dark
Brightness
53%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2133
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
5.27:1
Closest name
Olive
ΔE2000 1.6
Where it sits
Hue59° of 360°
Saturation84%
Lightness29%
Temperature
Warm ← → Cool24% 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#86830c
RGBrgb(134, 131, 12)
HSLhsl(59, 84%, 29%)
CMYKcmyk(0%, 2%, 91%, 48%)
LABlab(53.3 -11.5 55.8)
LCHlch(53.3 57.0 101.7)
OKLCHoklch(0.594 0.125 108.0)
Decimal8815372
Display P3color(display-p3 0.525 0.514 0.047)

Copy-ready code

/* CSS */
color: #86830c;
background-color: #86830c;
/* Tailwind (arbitrary) */
class="text-[#86830c] bg-[#86830c]"
/* SCSS */
$brand: #86830c;
/* SwiftUI */
Color(red: 0.525, green: 0.514, blue: 0.047)
/* Android */
Color.parseColor("#86830c")
/* Flutter */
Color(0xFF86830C)
/* Python / OpenCV (BGR) */
(12, 131, 134)

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

Accessibility — WCAG contrast

Aa
#86830c on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#86830c on black: 5.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8F7D00
deuteranopia · #91811A
tritanopia · #917A6F

Color scale — 50 to 950

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

#FCFCF2
#FAF9E6
#F6F5C5
#F6F398
#F1EE65
#EDE831
#E1DC14
#BBB711
#86830c
#6C6A0E
#444209
Base = 800Lightest = 50 · #FCFCF2Darkest = 950 · #444209
:root {
  --brand-50: #FCFCF2;
  --brand-100: #FAF9E6;
  --brand-200: #F6F5C5;
  --brand-300: #F6F398;
  --brand-400: #F1EE65;
  --brand-500: #EDE831;
  --brand-600: #E1DC14;
  --brand-700: #BBB711;
  --brand-800: #86830c;
  --brand-900: #6C6A0E;
  --brand-950: #444209;
  --brand: #86830c;
  --brand-ink: #000000;
}

Colors that work with #86830c

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#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#092C89
Second voice, not a rival
Dark variant#75720A
Hover, pressed, headers
Light variant#FDFCE8
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 #86830c

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#0C0F86
Analogous left#86460C
Analogous right#4C860C
Split-complement 1#0C4C86
Split-complement 2#460C86
Triadic 1#0C8683
Triadic 2#830C86
Tetradic#0C8646

RGB percentages

Red52.5%
Green51.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow91.0%
Key (black)47.5%

Color previews

#86830c text on a black background

contrast 5.27:1

Card sample

#86830c text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(134, 131, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 131, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #86830c;
background: linear-gradient(135deg, #86830c, #38860C);

Monochromatic scale

Palettes built from #86830c

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.

#86830c 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.

#86830c, answered

What color is #86830c?

#86830c is a dark electric yellow, closest to Olive (ΔE2000 1.6). It sits at 59° on the hue wheel with 84% saturation and 29% lightness, which reads as warm.

What is the RGB value of #86830c?

rgb(134, 131, 12) — 134 red, 131 green and 12 blue out of 255, or 52.5% / 51.4% / 4.7% by channel.

Is #86830c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2133 and perceived brightness is 49%, so black text on it reaches 5.27:1.

Should I use black or white text on #86830c?

Black. It scores 5.27:1 against #86830c, versus 3.99:1 for white — AA at any size.

What is the complementary color of #86830c?

#0C0F86 sits directly opposite on the wheel. Softer options are the split-complements #0C4C86 and #460C86, which give the same contrast with far less vibration.

What colors go well with #86830c?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #092C89 as an accent and #75720A for hover and pressed states. For a palette, the analogous pair #86460C and #4C860C stays calm, while #0C0F86 is the loudest partner.

What is #86830c in CMYK for printing?

cmyk(0%, 2%, 91%, 48%). 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 #86830c warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #86570C; nudged cooler, #5D870B.

Work with #86830c in the Color Lab