Skip to content

#bccd0c

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

RGB
188, 205, 12
HSL
65°, 89%, 43%
CMYK
8, 0, 94, 20
Luminance
0.5438

At a glance

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

Hex
#bccd0c
Hue
65°
yellow
Saturation
89%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5438
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
11.88:1
Closest name
Yellow Green
ΔE2000 7.7
Where it sits
Hue65° of 360°
Saturation89%
Lightness43%
Temperature
Warm ← → Cool29% 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#bccd0c
RGBrgb(188, 205, 12)
HSLhsl(65, 89%, 43%)
CMYKcmyk(8%, 0%, 94%, 20%)
LABlab(78.7 -25.4 77.4)
LCHlch(78.7 81.5 108.1)
OKLCHoklch(0.808 0.182 115.7)
Decimal12373260
Display P3color(display-p3 0.737 0.804 0.047)

Copy-ready code

/* CSS */
color: #bccd0c;
background-color: #bccd0c;
/* Tailwind (arbitrary) */
class="text-[#bccd0c] bg-[#bccd0c]"
/* SCSS */
$brand: #bccd0c;
/* SwiftUI */
Color(red: 0.737, green: 0.804, blue: 0.047)
/* Android */
Color.parseColor("#bccd0c")
/* Flutter */
Color(0xFFBCCD0C)
/* Python / OpenCV (BGR) */
(12, 205, 188)

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

Accessibility — WCAG contrast

Aa
#bccd0c on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#bccd0c on black: 11.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC200
deuteranopia · #DBC42B
tritanopia · #C9C0AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bccd0c 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
#F9FBE5
#F3F8C4
#F0F995
#E8F660
#E1F32B
#D4E70E
#bccd0c
#8D9A09
#666F0B
#404607
Base = 700Lightest = 50 · #FCFDF2Darkest = 950 · #404607
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F9FBE5;
  --brand-200: #F3F8C4;
  --brand-300: #F0F995;
  --brand-400: #E8F660;
  --brand-500: #E1F32B;
  --brand-600: #D4E70E;
  --brand-700: #bccd0c;
  --brand-800: #8D9A09;
  --brand-900: #666F0B;
  --brand-950: #404607;
  --brand: #bccd0c;
  --brand-ink: #000000;
}

Colors that work with #bccd0c

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#E9EDC0
Hairlines and dividers
Muted text#949B4B
Captions on the surface
Accent#0828D1
Second voice, not a rival
Dark variant#6E7807
Hover, pressed, headers
Light variant#FCFEE7
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 #bccd0c

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#1D0CCD
Analogous left#CD7D0C
Analogous right#5BCD0C
Split-complement 1#0C5BCD
Split-complement 2#7D0CCD
Triadic 1#0CBCCD
Triadic 2#CD0CBC
Tetradic#0CCD7D

RGB percentages

Red73.7%
Green80.4%
Blue4.7%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow94.1%
Key (black)19.6%

Color previews

#bccd0c text on a black background

contrast 11.88:1

Card sample

#bccd0c text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bccd0c

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.

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

#bccd0c, answered

What color is #bccd0c?

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

What is the RGB value of #bccd0c?

rgb(188, 205, 12) — 188 red, 205 green and 12 blue out of 255, or 73.7% / 80.4% / 4.7% by channel.

Is #bccd0c a light or a dark color?

It is a light color. Relative luminance is 0.5438 and perceived brightness is 74%, so black text on it reaches 11.88:1.

Should I use black or white text on #bccd0c?

Black. It scores 11.88:1 against #bccd0c, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #bccd0c?

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

What colors go well with #bccd0c?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #949B4B for secondary text, #0828D1 as an accent and #6E7807 for hover and pressed states. For a palette, the analogous pair #CD7D0C and #5BCD0C stays calm, while #1D0CCD is the loudest partner.

What is #bccd0c in CMYK for printing?

cmyk(8%, 0%, 94%, 20%). 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 #bccd0c warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD970C; nudged cooler, #75CF0A.

Work with #bccd0c in the Color Lab