Skip to content

#b2c813

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

RGB
178, 200, 19
HSL
67°, 83%, 43%
CMYK
11, 0, 91, 22
Luminance
0.5082

At a glance

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

Hex
#b2c813
Hue
67°
yellow
Saturation
83%
electric
Lightness
43%
dark
Brightness
78%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5082
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.16:1
Closest name
Yellow Green
ΔE2000 6.2
Where it sits
Hue67° of 360°
Saturation83%
Lightness43%
Temperature
Warm ← → Cool31% 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#b2c813
RGBrgb(178, 200, 19)
HSLhsl(67, 83%, 43%)
CMYKcmyk(11%, 0%, 91%, 22%)
LABlab(76.6 -27.0 74.6)
LCHlch(76.6 79.3 109.9)
OKLCHoklch(0.789 0.179 117.5)
Decimal11716627
Display P3color(display-p3 0.698 0.784 0.075)

Copy-ready code

/* CSS */
color: #b2c813;
background-color: #b2c813;
/* Tailwind (arbitrary) */
class="text-[#b2c813] bg-[#b2c813]"
/* SCSS */
$brand: #b2c813;
/* SwiftUI */
Color(red: 0.698, green: 0.784, blue: 0.075)
/* Android */
Color.parseColor("#b2c813")
/* Flutter */
Color(0xFFB2C813)
/* Python / OpenCV (BGR) */
(19, 200, 178)

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

Accessibility — WCAG contrast

Aa
#b2c813 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#b2c813 on black: 11.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6BC00
deuteranopia · #D4BE2D
tritanopia · #BEBCAA

Color scale — 50 to 950

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

#FBFCF2
#F7FAE6
#F0F6C6
#EAF599
#DFF065
#D5EB32
#C7E015
#b2c813
#85950E
#606C0F
#3C4309
Base = 700Lightest = 50 · #FBFCF2Darkest = 950 · #3C4309
:root {
  --brand-50: #FBFCF2;
  --brand-100: #F7FAE6;
  --brand-200: #F0F6C6;
  --brand-300: #EAF599;
  --brand-400: #DFF065;
  --brand-500: #D5EB32;
  --brand-600: #C7E015;
  --brand-700: #b2c813;
  --brand-800: #85950E;
  --brand-900: #606C0F;
  --brand-950: #3C4309;
  --brand: #b2c813;
  --brand-ink: #000000;
}

Colors that work with #b2c813

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#E7EDC0
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#0F27CC
Second voice, not a rival
Dark variant#68740B
Hover, pressed, headers
Light variant#FAFDE8
Selected rows, tints
Dark surface#222414
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 #b2c813

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#2913C8
Analogous left#C88313
Analogous right#57C813
Split-complement 1#1357C8
Split-complement 2#8313C8
Triadic 1#13B2C8
Triadic 2#C813B2
Tetradic#13C883

RGB percentages

Red69.8%
Green78.4%
Blue7.5%

CMYK percentages

Cyan11.0%
Magenta0.0%
Yellow90.5%
Key (black)21.6%

Color previews

#b2c813 text on a black background

contrast 11.16:1

Card sample

#b2c813 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 200, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 200, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2c813;
background: linear-gradient(135deg, #b2c813, #39C813);

Monochromatic scale

Palettes built from #b2c813

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.

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

#b2c813, answered

What color is #b2c813?

#b2c813 is a dark electric yellow, closest to Yellow Green (ΔE2000 6.2). It sits at 67° on the hue wheel with 83% saturation and 43% lightness, which reads as warm.

What is the RGB value of #b2c813?

rgb(178, 200, 19) — 178 red, 200 green and 19 blue out of 255, or 69.8% / 78.4% / 7.5% by channel.

Is #b2c813 a light or a dark color?

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

Should I use black or white text on #b2c813?

Black. It scores 11.16:1 against #b2c813, versus 1.88:1 for white — AAA at any size.

What is the complementary color of #b2c813?

#2913C8 sits directly opposite on the wheel. Softer options are the split-complements #1357C8 and #8313C8, which give the same contrast with far less vibration.

What colors go well with #b2c813?

For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #919B4B for secondary text, #0F27CC as an accent and #68740B for hover and pressed states. For a palette, the analogous pair #C88313 and #57C813 stays calm, while #2913C8 is the loudest partner.

What is #b2c813 in CMYK for printing?

cmyk(11%, 0%, 91%, 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 #b2c813 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C89B13; nudged cooler, #70CA11.

Work with #b2c813 in the Color Lab