Skip to content

#654c01

a deep, electric yellow · warm · closest name: Saddle Brown

RGB
101, 76, 1
HSL
45°, 98%, 20%
CMYK
0, 25, 99, 60
Luminance
0.0794

At a glance

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

Hex
#654c01
Hue
45°
yellow
Saturation
98%
electric
Lightness
20%
deep
Brightness
40%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0794
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
8.12:1
Closest name
Saddle Brown
ΔE2000 16
Where it sits
Hue45° of 360°
Saturation98%
Lightness20%
Temperature
Warm ← → Cool13% 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#654c01
RGBrgb(101, 76, 1)
HSLhsl(45, 98%, 20%)
CMYKcmyk(0%, 25%, 99%, 60%)
LABlab(33.9 3.8 42.2)
LCHlch(33.9 42.4 84.8)
OKLCHoklch(0.431 0.088 86.7)
Decimal6638593
Display P3color(display-p3 0.396 0.298 0.004)

Copy-ready code

/* CSS */
color: #654c01;
background-color: #654c01;
/* Tailwind (arbitrary) */
class="text-[#654c01] bg-[#654c01]"
/* SCSS */
$brand: #654c01;
/* SwiftUI */
Color(red: 0.396, green: 0.298, blue: 0.004)
/* Android */
Color.parseColor("#654c01")
/* Flutter */
Color(0xFF654C01)
/* Python / OpenCV (BGR) */
(1, 76, 101)

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 #654c01 · 8.12:1
Use #ffffffAAA at every size.
Aa
White text · 8.12:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.59:1
AA fail · AA large fail · AAA fail
Reading the other direction: #654c01 as text scores 8.12:1 on white and 2.59:1 on black.

Accessibility — WCAG contrast

Aa
#654c01 on white: 8.12:1
AA ✓ pass · AA-large · AAA
Aa
#654c01 on black: 2.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #574C00
deuteranopia · #5D5206
tritanopia · #6F4440

Color scale — 50 to 950

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

#FDFAF1
#FCF6E3
#FBECC1
#FEE290
#FDD458
#FDC621
#F2B602
#CA9802
#A27A02
#654c01
#493704
Base = 900Lightest = 50 · #FDFAF1Darkest = 950 · #493704
:root {
  --brand-50: #FDFAF1;
  --brand-100: #FCF6E3;
  --brand-200: #FBECC1;
  --brand-300: #FEE290;
  --brand-400: #FDD458;
  --brand-500: #FDC621;
  --brand-600: #F2B602;
  --brand-700: #CA9802;
  --brand-800: #A27A02;
  --brand-900: #654c01;
  --brand-950: #493704;
  --brand: #654c01;
  --brand-ink: #ffffff;
}

Colors that work with #654c01

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#FAF9F4
Tinted page background
Border#EDE1C0
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#003366
Second voice, not a rival
Dark variant#7E5F01
Hover, pressed, headers
Light variant#FFF8E6
Selected rows, tints
Dark surface#242014
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 #654c01

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
  • Text on black or near-black surfaces
  • 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#011A65
Analogous left#651A01
Analogous right#4C6501
Split-complement 1#014C65
Split-complement 2#1A0165
Triadic 1#01654C
Triadic 2#4C0165
Tetradic#01651A

RGB percentages

Red39.6%
Green29.8%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta24.8%
Yellow99.0%
Key (black)60.4%

Color previews

#654c01 text on a black background

contrast 2.59:1

Card sample

#654c01 text on a white background

contrast 8.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(101, 76, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 76, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #654c01;
background: linear-gradient(135deg, #654c01, #3B6501);

Monochromatic scale

Palettes built from #654c01

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.

#654c01 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.

#654c01, answered

What color is #654c01?

#654c01 is a deep electric yellow, closest to Saddle Brown (ΔE2000 16). It sits at 45° on the hue wheel with 98% saturation and 20% lightness, which reads as warm.

What is the RGB value of #654c01?

rgb(101, 76, 1) — 101 red, 76 green and 1 blue out of 255, or 39.6% / 29.8% / 0.4% by channel.

Is #654c01 a light or a dark color?

It is a dark color. Relative luminance is 0.0794 and perceived brightness is 31%, so white text on it reaches 8.12:1.

Should I use black or white text on #654c01?

White. It scores 8.12:1 against #654c01, versus 2.59:1 for black — AAA at any size.

What is the complementary color of #654c01?

#011A65 sits directly opposite on the wheel. Softer options are the split-complements #014C65 and #1A0165, which give the same contrast with far less vibration.

What colors go well with #654c01?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B874B for secondary text, #003366 as an accent and #7E5F01 for hover and pressed states. For a palette, the analogous pair #651A01 and #4C6501 stays calm, while #011A65 is the loudest partner.

What is #654c01 in CMYK for printing?

cmyk(0%, 25%, 99%, 60%). 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 #654c01 warm or cool?

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

Work with #654c01 in the Color Lab