Skip to content

#080702

a deep, vivid yellow · warm · closest name: Black

RGB
8, 7, 2
HSL
50°, 60%, 2%
CMYK
0, 13, 75, 97
Luminance
0.0021

At a glance

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

Hex
#080702
Hue
50°
yellow
Saturation
60%
vivid
Lightness
2%
deep
Brightness
3%
HSV value
Perceived
3%
weighted brightness
Luminance
0.0021
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
20.16:1
Closest name
Black
ΔE2000 2.3
Where it sits
Hue50° of 360°
Saturation60%
Lightness2%
Temperature
Warm ← → Cool17% 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#080702
RGBrgb(8, 7, 2)
HSLhsl(50, 60%, 2%)
CMYKcmyk(0%, 13%, 75%, 97%)
LABlab(1.9 -0.4 2.0)
LCHlch(1.9 2.0 102.3)
OKLCHoklch(0.127 0.017 101.4)
Decimal526082
Display P3color(display-p3 0.031 0.027 0.008)

Copy-ready code

/* CSS */
color: #080702;
background-color: #080702;
/* Tailwind (arbitrary) */
class="text-[#080702] bg-[#080702]"
/* SCSS */
$brand: #080702;
/* SwiftUI */
Color(red: 0.031, green: 0.027, blue: 0.008)
/* Android */
Color.parseColor("#080702")
/* Flutter */
Color(0xFF080702)
/* Python / OpenCV (BGR) */
(2, 7, 8)

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

Accessibility — WCAG contrast

Aa
#080702 on white: 20.16:1
AA ✓ pass · AA-large · AAA
Aa
#080702 on black: 1.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #080702
deuteranopia · #090702
tritanopia · #090605

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #080702 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFAF4
#F7F4E9
#EFEACC
#E9DDA5
#DDCD78
#D2BC4B
#C4AB31
#A38F29
#837221
#5F541B
#080702
Base = 950Lightest = 50 · #FBFAF4Darkest = 950 · #080702
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F4E9;
  --brand-200: #EFEACC;
  --brand-300: #E9DDA5;
  --brand-400: #DDCD78;
  --brand-500: #D2BC4B;
  --brand-600: #C4AB31;
  --brand-700: #A38F29;
  --brand-800: #837221;
  --brand-900: #5F541B;
  --brand-950: #080702;
  --brand: #080702;
  --brand-ink: #ffffff;
}

Colors that work with #080702

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#EDE5C0
Hairlines and dividers
Muted text#9B8E4B
Captions on the surface
Accent#020508
Second voice, not a rival
Dark variant#66591A
Hover, pressed, headers
Light variant#FAF7EB
Selected rows, tints
Dark surface#242214
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 #080702

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#020308
Analogous left#080402
Analogous right#060802
Split-complement 1#020608
Split-complement 2#040208
Triadic 1#020807
Triadic 2#070208
Tetradic#020804

RGB percentages

Red3.1%
Green2.7%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow75.0%
Key (black)96.9%

Color previews

#080702 text on a black background

contrast 1.04:1

Card sample

#080702 text on a white background

contrast 20.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080702

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.

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

#080702, answered

What color is #080702?

#080702 is a deep vivid yellow, closest to Black (ΔE2000 2.3). It sits at 50° on the hue wheel with 60% saturation and 2% lightness, which reads as warm.

What is the RGB value of #080702?

rgb(8, 7, 2) — 8 red, 7 green and 2 blue out of 255, or 3.1% / 2.7% / 0.8% by channel.

Is #080702 a light or a dark color?

It is a dark color. Relative luminance is 0.0021 and perceived brightness is 3%, so white text on it reaches 20.16:1.

Should I use black or white text on #080702?

White. It scores 20.16:1 against #080702, versus 1.04:1 for black — AAA at any size.

What is the complementary color of #080702?

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

What colors go well with #080702?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8E4B for secondary text, #020508 as an accent and #66591A for hover and pressed states. For a palette, the analogous pair #080402 and #060802 stays calm, while #020308 is the loudest partner.

What is #080702 in CMYK for printing?

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

Is #080702 warm or cool?

Warm — it scores 17 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0C0703; nudged cooler, #0A0C03.

Work with #080702 in the Color Lab