Skip to content

#b8cf5f

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

RGB
184, 207, 95
HSL
72°, 54%, 59%
CMYK
11, 0, 54, 19
Luminance
0.5564

At a glance

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

Hex
#b8cf5f
Hue
72°
green
Saturation
54%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5564
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.13:1
Closest name
Yellow Green
ΔE2000 5.9
Where it sits
Hue72° of 360°
Saturation54%
Lightness59%
Temperature
Warm ← → Cool35% 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#b8cf5f
RGBrgb(184, 207, 95)
HSLhsl(72, 54%, 59%)
CMYKcmyk(11%, 0%, 54%, 19%)
LABlab(79.4 -24.0 52.3)
LCHlch(79.4 57.5 114.7)
OKLCHoklch(0.814 0.141 119.3)
Decimal12111711
Display P3color(display-p3 0.722 0.812 0.373)

Copy-ready code

/* CSS */
color: #b8cf5f;
background-color: #b8cf5f;
/* Tailwind (arbitrary) */
class="text-[#b8cf5f] bg-[#b8cf5f]"
/* SCSS */
$brand: #b8cf5f;
/* SwiftUI */
Color(red: 0.722, green: 0.812, blue: 0.373)
/* Android */
Color.parseColor("#b8cf5f")
/* Flutter */
Color(0xFFB8CF5F)
/* Python / OpenCV (BGR) */
(95, 207, 184)

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

Accessibility — WCAG contrast

Aa
#b8cf5f on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#b8cf5f on black: 12.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC554
deuteranopia · #D8C566
tritanopia · #C1C5B6

Color scale — 50 to 950

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

#F9FBF4
#F3F6E9
#E7EECE
#D9E5A9
#C6D87E
#b8cf5f
#A1BC39
#869D2F
#6C7E26
#4F5B1F
#313913
Base = 500Lightest = 50 · #F9FBF4Darkest = 950 · #313913
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F3F6E9;
  --brand-200: #E7EECE;
  --brand-300: #D9E5A9;
  --brand-400: #C6D87E;
  --brand-500: #b8cf5f;
  --brand-600: #A1BC39;
  --brand-700: #869D2F;
  --brand-800: #6C7E26;
  --brand-900: #4F5B1F;
  --brand-950: #313913;
  --brand: #b8cf5f;
  --brand-ink: #000000;
}

Colors that work with #b8cf5f

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#E3ECC0
Hairlines and dividers
Muted text#8A9B4B
Captions on the surface
Accent#5B60D3
Second voice, not a rival
Dark variant#54621D
Hover, pressed, headers
Light variant#F6F9EB
Selected rows, tints
Dark surface#212414
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 #b8cf5f

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#765FCF
Analogous left#CFAE5F
Analogous right#80CF5F
Split-complement 1#5F80CF
Split-complement 2#AE5FCF
Triadic 1#5FB8CF
Triadic 2#CF5FB8
Tetradic#5FCFAE

RGB percentages

Red72.2%
Green81.2%
Blue37.3%

CMYK percentages

Cyan11.1%
Magenta0.0%
Yellow54.1%
Key (black)18.8%

Color previews

#b8cf5f text on a black background

contrast 12.13:1

Card sample

#b8cf5f text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(184, 207, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(184, 207, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b8cf5f;
background: linear-gradient(135deg, #b8cf5f, #6DCF5F);

Monochromatic scale

Palettes built from #b8cf5f

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.

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

#b8cf5f, answered

What color is #b8cf5f?

#b8cf5f is a balanced vivid green, closest to Yellow Green (ΔE2000 5.9). It sits at 72° on the hue wheel with 54% saturation and 59% lightness, which reads as warm.

What is the RGB value of #b8cf5f?

rgb(184, 207, 95) — 184 red, 207 green and 95 blue out of 255, or 72.2% / 81.2% / 37.3% by channel.

Is #b8cf5f a light or a dark color?

It is a light color. Relative luminance is 0.5564 and perceived brightness is 75%, so black text on it reaches 12.13:1.

Should I use black or white text on #b8cf5f?

Black. It scores 12.13:1 against #b8cf5f, versus 1.73:1 for white — AAA at any size.

What is the complementary color of #b8cf5f?

#765FCF sits directly opposite on the wheel. Softer options are the split-complements #5F80CF and #AE5FCF, which give the same contrast with far less vibration.

What colors go well with #b8cf5f?

For interface work: #F9FAF4 as the surface, #E3ECC0 for borders, #8A9B4B for secondary text, #5B60D3 as an accent and #54621D for hover and pressed states. For a palette, the analogous pair #CFAE5F and #80CF5F stays calm, while #765FCF is the loudest partner.

What is #b8cf5f in CMYK for printing?

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

Is #b8cf5f warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFBD5F; nudged cooler, #8FD15D.

Work with #b8cf5f in the Color Lab