Skip to content

#b0df2a

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

RGB
176, 223, 42
HSL
76°, 74%, 52%
CMYK
21, 0, 81, 13
Luminance
0.6217

At a glance

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

Hex
#b0df2a
Hue
76°
green
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6217
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.43:1
Closest name
Yellow Green
ΔE2000 5.1
Where it sits
Hue76° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool38% 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#b0df2a
RGBrgb(176, 223, 42)
HSLhsl(76, 74%, 52%)
CMYKcmyk(21%, 0%, 81%, 13%)
LABlab(83.0 -37.9 75.3)
LCHlch(83.0 84.3 116.7)
OKLCHoklch(0.841 0.198 124.1)
Decimal11591466
Display P3color(display-p3 0.690 0.875 0.165)

Copy-ready code

/* CSS */
color: #b0df2a;
background-color: #b0df2a;
/* Tailwind (arbitrary) */
class="text-[#b0df2a] bg-[#b0df2a]"
/* SCSS */
$brand: #b0df2a;
/* SwiftUI */
Color(red: 0.690, green: 0.875, blue: 0.165)
/* Android */
Color.parseColor("#b0df2a")
/* Flutter */
Color(0xFFB0DF2A)
/* Python / OpenCV (BGR) */
(42, 223, 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 #b0df2a · 13.43:1
Use #000000AAA at every size.
Aa
White text · 1.56:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.43:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b0df2a as text scores 1.56:1 on white and 13.43:1 on black.

Accessibility — WCAG contrast

Aa
#b0df2a on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#b0df2a on black: 13.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECD000
deuteranopia · #E6CE3F
tritanopia · #B9D4BF

Color scale — 50 to 950

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

#F9FCF3
#F4F9E7
#E8F3C8
#DBF09D
#C9E96D
#b0df2a
#A6D520
#8AB11B
#6F8E15
#516714
#33400C
Base = 500Lightest = 50 · #F9FCF3Darkest = 950 · #33400C
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F9E7;
  --brand-200: #E8F3C8;
  --brand-300: #DBF09D;
  --brand-400: #C9E96D;
  --brand-500: #b0df2a;
  --brand-600: #A6D520;
  --brand-700: #8AB11B;
  --brand-800: #6F8E15;
  --brand-900: #516714;
  --brand-950: #33400C;
  --brand: #b0df2a;
  --brand-ink: #000000;
}

Colors that work with #b0df2a

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#F9FAF4
Tinted page background
Border#E1EDC0
Hairlines and dividers
Muted text#869B4B
Captions on the surface
Accent#2725E4
Second voice, not a rival
Dark variant#566F11
Hover, pressed, headers
Light variant#F7FCE9
Selected rows, tints
Dark surface#202414
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 #b0df2a

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
  • 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#592ADF
Analogous left#DFB42A
Analogous right#56DF2A
Split-complement 1#2A56DF
Split-complement 2#B42ADF
Triadic 1#2AB0DF
Triadic 2#DF2AB0
Tetradic#2ADFB4

RGB percentages

Red69.0%
Green87.5%
Blue16.5%

CMYK percentages

Cyan21.1%
Magenta0.0%
Yellow81.2%
Key (black)12.5%

Color previews

#b0df2a text on a black background

contrast 13.43:1

Card sample

#b0df2a text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0df2a

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.

#b0df2a in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#b0df2a, answered

What color is #b0df2a?

#b0df2a is a balanced vivid green, closest to Yellow Green (ΔE2000 5.1). It sits at 76° on the hue wheel with 74% saturation and 52% lightness, which reads as warm.

What is the RGB value of #b0df2a?

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

Is #b0df2a a light or a dark color?

It is a light color. Relative luminance is 0.6217 and perceived brightness is 77%, so black text on it reaches 13.43:1.

Should I use black or white text on #b0df2a?

Black. It scores 13.43:1 against #b0df2a, versus 1.56:1 for white — AAA at any size.

What is the complementary color of #b0df2a?

#592ADF sits directly opposite on the wheel. Softer options are the split-complements #2A56DF and #B42ADF, which give the same contrast with far less vibration.

What colors go well with #b0df2a?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #869B4B for secondary text, #2725E4 as an accent and #566F11 for hover and pressed states. For a palette, the analogous pair #DFB42A and #56DF2A stays calm, while #592ADF is the loudest partner.

What is #b0df2a in CMYK for printing?

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

Is #b0df2a warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFCC2A; nudged cooler, #6DE228.

Work with #b0df2a in the Color Lab