Skip to content

#b5c708

a dark, electric yellow · warm · closest name: Yellow Green

RGB
181, 199, 8
HSL
66°, 92%, 41%
CMYK
9, 0, 96, 22
Luminance
0.5069

At a glance

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

Hex
#b5c708
Hue
66°
yellow
Saturation
92%
electric
Lightness
41%
dark
Brightness
78%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5069
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.14:1
Closest name
Yellow Green
ΔE2000 7.2
Where it sits
Hue66° of 360°
Saturation92%
Lightness41%
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#b5c708
RGBrgb(181, 199, 8)
HSLhsl(66, 92%, 41%)
CMYKcmyk(9%, 0%, 96%, 22%)
LABlab(76.5 -25.5 75.9)
LCHlch(76.5 80.1 108.5)
OKLCHoklch(0.789 0.179 116.2)
Decimal11912968
Display P3color(display-p3 0.710 0.780 0.031)

Copy-ready code

/* CSS */
color: #b5c708;
background-color: #b5c708;
/* Tailwind (arbitrary) */
class="text-[#b5c708] bg-[#b5c708]"
/* SCSS */
$brand: #b5c708;
/* SwiftUI */
Color(red: 0.710, green: 0.780, blue: 0.031)
/* Android */
Color.parseColor("#b5c708")
/* Flutter */
Color(0xFFB5C708)
/* Python / OpenCV (BGR) */
(8, 199, 181)

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

Accessibility — WCAG contrast

Aa
#b5c708 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#b5c708 on black: 11.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6BC00
deuteranopia · #D4BE28
tritanopia · #C1BBA9

Color scale — 50 to 950

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

#FCFDF2
#F9FBE4
#F4F9C3
#F1FB93
#EAF95D
#E3F627
#D6EB09
#b5c708
#8F9D06
#677109
#414706
Base = 700Lightest = 50 · #FCFDF2Darkest = 950 · #414706
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F9FBE4;
  --brand-200: #F4F9C3;
  --brand-300: #F1FB93;
  --brand-400: #EAF95D;
  --brand-500: #E3F627;
  --brand-600: #D6EB09;
  --brand-700: #b5c708;
  --brand-800: #8F9D06;
  --brand-900: #677109;
  --brand-950: #414706;
  --brand: #b5c708;
  --brand-ink: #000000;
}

Colors that work with #b5c708

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#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#0423CB
Second voice, not a rival
Dark variant#6F7B05
Hover, pressed, headers
Light variant#FCFEE6
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 #b5c708

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#1A08C7
Analogous left#C77A08
Analogous right#55C708
Split-complement 1#0855C7
Split-complement 2#7A08C7
Triadic 1#08B5C7
Triadic 2#C708B5
Tetradic#08C77A

RGB percentages

Red71.0%
Green78.0%
Blue3.1%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow96.0%
Key (black)22.0%

Color previews

#b5c708 text on a black background

contrast 11.14:1

Card sample

#b5c708 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 199, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 199, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5c708;
background: linear-gradient(135deg, #b5c708, #36C708);

Monochromatic scale

Palettes built from #b5c708

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.

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

#b5c708, answered

What color is #b5c708?

#b5c708 is a dark electric yellow, closest to Yellow Green (ΔE2000 7.2). It sits at 66° on the hue wheel with 92% saturation and 41% lightness, which reads as warm.

What is the RGB value of #b5c708?

rgb(181, 199, 8) — 181 red, 199 green and 8 blue out of 255, or 71% / 78% / 3.1% by channel.

Is #b5c708 a light or a dark color?

It is a light color. Relative luminance is 0.5069 and perceived brightness is 71%, so black text on it reaches 11.14:1.

Should I use black or white text on #b5c708?

Black. It scores 11.14:1 against #b5c708, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #b5c708?

#1A08C7 sits directly opposite on the wheel. Softer options are the split-complements #0855C7 and #7A08C7, which give the same contrast with far less vibration.

What colors go well with #b5c708?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #0423CB as an accent and #6F7B05 for hover and pressed states. For a palette, the analogous pair #C77A08 and #55C708 stays calm, while #1A08C7 is the loudest partner.

What is #b5c708 in CMYK for printing?

cmyk(9%, 0%, 96%, 22%). 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 #b5c708 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 #C79308; nudged cooler, #6FC906.

Work with #b5c708 in the Color Lab