Skip to content

#626c01

a deep, electric yellow · warm · closest name: Dark Olive Green

RGB
98, 108, 1
HSL
66°, 98%, 21%
CMYK
9, 0, 99, 58
Luminance
0.1332

At a glance

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

Hex
#626c01
Hue
66°
yellow
Saturation
98%
electric
Lightness
21%
deep
Brightness
42%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1332
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
5.73:1
Closest name
Dark Olive Green
ΔE2000 8.1
Where it sits
Hue66° of 360°
Saturation98%
Lightness21%
Temperature
Warm ← → Cool30% 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#626c01
RGBrgb(98, 108, 1)
HSLhsl(66, 98%, 21%)
CMYKcmyk(9%, 0%, 99%, 58%)
LABlab(43.3 -16.2 48.9)
LCHlch(43.3 51.5 108.3)
OKLCHoklch(0.505 0.115 116.0)
Decimal6450177
Display P3color(display-p3 0.384 0.424 0.004)

Copy-ready code

/* CSS */
color: #626c01;
background-color: #626c01;
/* Tailwind (arbitrary) */
class="text-[#626c01] bg-[#626c01]"
/* SCSS */
$brand: #626c01;
/* SwiftUI */
Color(red: 0.384, green: 0.424, blue: 0.004)
/* Android */
Color.parseColor("#626c01")
/* Flutter */
Color(0xFF626C01)
/* Python / OpenCV (BGR) */
(1, 108, 98)

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

Accessibility — WCAG contrast

Aa
#626c01 on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#626c01 on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #756600
deuteranopia · #746710
tritanopia · #69655B

Color scale — 50 to 950

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

#FCFDF1
#FAFCE3
#F6FBC1
#F4FE90
#EEFD58
#E8FD21
#DCF302
#B7CA02
#93A201
#626c01
#424904
Base = 900Lightest = 50 · #FCFDF1Darkest = 950 · #424904
:root {
  --brand-50: #FCFDF1;
  --brand-100: #FAFCE3;
  --brand-200: #F6FBC1;
  --brand-300: #F4FE90;
  --brand-400: #EEFD58;
  --brand-500: #E8FD21;
  --brand-600: #DCF302;
  --brand-700: #B7CA02;
  --brand-800: #93A201;
  --brand-900: #626c01;
  --brand-950: #424904;
  --brand: #626c01;
  --brand-ink: #ffffff;
}

Colors that work with #626c01

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#FAFAF4
Tinted page background
Border#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#00116D
Second voice, not a rival
Dark variant#737E01
Hover, pressed, headers
Light variant#FCFFE6
Selected rows, tints
Dark surface#232414
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 #626c01

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
  • 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#0B016C
Analogous left#6C4101
Analogous right#2D6C01
Split-complement 1#012D6C
Split-complement 2#41016C
Triadic 1#01626C
Triadic 2#6C0162
Tetradic#016C41

RGB percentages

Red38.4%
Green42.4%
Blue0.4%

CMYK percentages

Cyan9.3%
Magenta0.0%
Yellow99.1%
Key (black)57.6%

Color previews

#626c01 text on a black background

contrast 3.66:1

Card sample

#626c01 text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #626c01

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.

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

#626c01, answered

What color is #626c01?

#626c01 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 8.1). It sits at 66° on the hue wheel with 98% saturation and 21% lightness, which reads as warm.

What is the RGB value of #626c01?

rgb(98, 108, 1) — 98 red, 108 green and 1 blue out of 255, or 38.4% / 42.4% / 0.4% by channel.

Is #626c01 a light or a dark color?

It is a dark color. Relative luminance is 0.1332 and perceived brightness is 39%, so white text on it reaches 5.73:1.

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

White. It scores 5.73:1 against #626c01, versus 3.66:1 for black — AA at any size.

What is the complementary color of #626c01?

#0B016C sits directly opposite on the wheel. Softer options are the split-complements #012D6C and #41016C, which give the same contrast with far less vibration.

What colors go well with #626c01?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #00116D as an accent and #737E01 for hover and pressed states. For a palette, the analogous pair #6C4101 and #2D6C01 stays calm, while #0B016C is the loudest partner.

What is #626c01 in CMYK for printing?

cmyk(9%, 0%, 99%, 58%). 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 #626c01 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6C4F01; nudged cooler, #3B6D00.

Work with #626c01 in the Color Lab