Skip to content

#b0c02a

a balanced, vivid yellow · warm · closest name: Yellow Green

RGB
176, 192, 42
HSL
66°, 64%, 46%
CMYK
8, 0, 78, 25
Luminance
0.4710

At a glance

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

Hex
#b0c02a
Hue
66°
yellow
Saturation
64%
vivid
Lightness
46%
balanced
Brightness
75%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4710
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.42:1
Closest name
Yellow Green
ΔE2000 6.9
Where it sits
Hue66° of 360°
Saturation64%
Lightness46%
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#b0c02a
RGBrgb(176, 192, 42)
HSLhsl(66, 64%, 46%)
CMYKcmyk(8%, 0%, 78%, 25%)
LABlab(74.3 -23.4 67.5)
LCHlch(74.3 71.4 109.1)
OKLCHoklch(0.770 0.164 115.9)
Decimal11583530
Display P3color(display-p3 0.690 0.753 0.165)

Copy-ready code

/* CSS */
color: #b0c02a;
background-color: #b0c02a;
/* Tailwind (arbitrary) */
class="text-[#b0c02a] bg-[#b0c02a]"
/* SCSS */
$brand: #b0c02a;
/* SwiftUI */
Color(red: 0.690, green: 0.753, blue: 0.165)
/* Android */
Color.parseColor("#b0c02a")
/* Flutter */
Color(0xFFB0C02A)
/* Python / OpenCV (BGR) */
(42, 192, 176)

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

Accessibility — WCAG contrast

Aa
#b0c02a on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#b0c02a on black: 10.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEB600
deuteranopia · #CDB838
tritanopia · #BCB5A4

Color scale — 50 to 950

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

#FAFBF4
#F6F7E8
#EDF1CB
#E3EBA3
#D5E175
#C7D747
#b0c02a
#99A725
#7B861D
#5A6119
#383D10
Base = 600Lightest = 50 · #FAFBF4Darkest = 950 · #383D10
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F6F7E8;
  --brand-200: #EDF1CB;
  --brand-300: #E3EBA3;
  --brand-400: #D5E175;
  --brand-500: #C7D747;
  --brand-600: #b0c02a;
  --brand-700: #99A725;
  --brand-800: #7B861D;
  --brand-900: #5A6119;
  --brand-950: #383D10;
  --brand: #b0c02a;
  --brand-ink: #000000;
}

Colors that work with #b0c02a

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#929B4B
Captions on the surface
Accent#253CC5
Second voice, not a rival
Dark variant#606917
Hover, pressed, headers
Light variant#F9FAEA
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 #b0c02a

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
  • 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
  • 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#3A2AC0
Analogous left#C0852A
Analogous right#65C02A
Split-complement 1#2A65C0
Split-complement 2#852AC0
Triadic 1#2AB0C0
Triadic 2#C02AB0
Tetradic#2AC085

RGB percentages

Red69.0%
Green75.3%
Blue16.5%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow78.1%
Key (black)24.7%

Color previews

#b0c02a text on a black background

contrast 10.42:1

Card sample

#b0c02a text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 192, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 192, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0c02a;
background: linear-gradient(135deg, #b0c02a, #4CC02A);

Monochromatic scale

Palettes built from #b0c02a

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.

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

#b0c02a, answered

What color is #b0c02a?

#b0c02a is a balanced vivid yellow, closest to Yellow Green (ΔE2000 6.9). It sits at 66° on the hue wheel with 64% saturation and 46% lightness, which reads as warm.

What is the RGB value of #b0c02a?

rgb(176, 192, 42) — 176 red, 192 green and 42 blue out of 255, or 69% / 75.3% / 16.5% by channel.

Is #b0c02a a light or a dark color?

It is a mid-tone. Relative luminance is 0.4710 and perceived brightness is 69%, so black text on it reaches 10.42:1.

Should I use black or white text on #b0c02a?

Black. It scores 10.42:1 against #b0c02a, versus 2.02:1 for white — AAA at any size.

What is the complementary color of #b0c02a?

#3A2AC0 sits directly opposite on the wheel. Softer options are the split-complements #2A65C0 and #852AC0, which give the same contrast with far less vibration.

What colors go well with #b0c02a?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #929B4B for secondary text, #253CC5 as an accent and #606917 for hover and pressed states. For a palette, the analogous pair #C0852A and #65C02A stays calm, while #3A2AC0 is the loudest partner.

What is #b0c02a in CMYK for printing?

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

Is #b0c02a 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 #C0992A; nudged cooler, #79C228.

Work with #b0c02a in the Color Lab