Skip to content

#837f13

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

RGB
131, 127, 19
HSL
58°, 75%, 29%
CMYK
0, 3, 86, 49
Luminance
0.2005

At a glance

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

Hex
#837f13
Hue
58°
yellow
Saturation
75%
vivid
Lightness
29%
dark
Brightness
51%
HSV value
Perceived
47%
weighted brightness
Luminance
0.2005
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
5.01:1
Closest name
Olive
ΔE2000 1.5
Where it sits
Hue58° of 360°
Saturation75%
Lightness29%
Temperature
Warm ← → Cool23% 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#837f13
RGBrgb(131, 127, 19)
HSLhsl(58, 75%, 29%)
CMYKcmyk(0%, 3%, 86%, 49%)
LABlab(51.9 -10.6 53.0)
LCHlch(51.9 54.0 101.3)
OKLCHoklch(0.582 0.119 107.3)
Decimal8617747
Display P3color(display-p3 0.514 0.498 0.075)

Copy-ready code

/* CSS */
color: #837f13;
background-color: #837f13;
/* Tailwind (arbitrary) */
class="text-[#837f13] bg-[#837f13]"
/* SCSS */
$brand: #837f13;
/* SwiftUI */
Color(red: 0.514, green: 0.498, blue: 0.075)
/* Android */
Color.parseColor("#837f13")
/* Flutter */
Color(0xFF837F13)
/* Python / OpenCV (BGR) */
(19, 127, 131)

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

Accessibility — WCAG contrast

Aa
#837f13 on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#837f13 on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7A00
deuteranopia · #8D7D1E
tritanopia · #8D766C

Color scale — 50 to 950

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

#FCFBF3
#F9F8E7
#F4F2C8
#F1EE9D
#EAE56C
#E3DD3B
#D6CF1F
#B2AD1A
#837f13
#676413
#413F0C
Base = 800Lightest = 50 · #FCFBF3Darkest = 950 · #413F0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F8E7;
  --brand-200: #F4F2C8;
  --brand-300: #F1EE9D;
  --brand-400: #EAE56C;
  --brand-500: #E3DD3B;
  --brand-600: #D6CF1F;
  --brand-700: #B2AD1A;
  --brand-800: #837f13;
  --brand-900: #676413;
  --brand-950: #413F0C;
  --brand: #837f13;
  --brand-ink: #000000;
}

Colors that work with #837f13

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#103286
Second voice, not a rival
Dark variant#6F6C10
Hover, pressed, headers
Light variant#FCFBE9
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 #837f13

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#131783
Analogous left#834713
Analogous right#4F8313
Split-complement 1#134F83
Split-complement 2#471383
Triadic 1#13837F
Triadic 2#7F1383
Tetradic#138347

RGB percentages

Red51.4%
Green49.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow85.5%
Key (black)48.6%

Color previews

#837f13 text on a black background

contrast 5.01:1

Card sample

#837f13 text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(131, 127, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 127, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #837f13;
background: linear-gradient(135deg, #837f13, #3C8313);

Monochromatic scale

Palettes built from #837f13

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.

#837f13 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.

#837f13, answered

What color is #837f13?

#837f13 is a dark vivid yellow, closest to Olive (ΔE2000 1.5). It sits at 58° on the hue wheel with 75% saturation and 29% lightness, which reads as warm.

What is the RGB value of #837f13?

rgb(131, 127, 19) — 131 red, 127 green and 19 blue out of 255, or 51.4% / 49.8% / 7.5% by channel.

Is #837f13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2005 and perceived brightness is 47%, so black text on it reaches 5.01:1.

Should I use black or white text on #837f13?

Black. It scores 5.01:1 against #837f13, versus 4.19:1 for white — AA at any size.

What is the complementary color of #837f13?

#131783 sits directly opposite on the wheel. Softer options are the split-complements #134F83 and #471383, which give the same contrast with far less vibration.

What colors go well with #837f13?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #103286 as an accent and #6F6C10 for hover and pressed states. For a palette, the analogous pair #834713 and #4F8313 stays calm, while #131783 is the loudest partner.

What is #837f13 in CMYK for printing?

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

Is #837f13 warm or cool?

Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #835613; nudged cooler, #5E8411.

Work with #837f13 in the Color Lab