Skip to content

#b9c01e

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

RGB
185, 192, 30
HSL
63°, 73%, 44%
CMYK
4, 0, 84, 25
Luminance
0.4811

At a glance

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

Hex
#b9c01e
Hue
63°
yellow
Saturation
73%
vivid
Lightness
44%
dark
Brightness
75%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4811
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.62:1
Closest name
Yellow Green
ΔE2000 9.1
Where it sits
Hue63° of 360°
Saturation73%
Lightness44%
Temperature
Warm ← → Cool27% 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#b9c01e
RGBrgb(185, 192, 30)
HSLhsl(63, 73%, 44%)
CMYKcmyk(4%, 0%, 84%, 25%)
LABlab(74.9 -19.9 71.4)
LCHlch(74.9 74.1 105.6)
OKLCHoklch(0.777 0.166 112.4)
Decimal12173342
Display P3color(display-p3 0.725 0.753 0.118)

Copy-ready code

/* CSS */
color: #b9c01e;
background-color: #b9c01e;
/* Tailwind (arbitrary) */
class="text-[#b9c01e] bg-[#b9c01e]"
/* SCSS */
$brand: #b9c01e;
/* SwiftUI */
Color(red: 0.725, green: 0.753, blue: 0.118)
/* Android */
Color.parseColor("#b9c01e")
/* Flutter */
Color(0xFFB9C01E)
/* Python / OpenCV (BGR) */
(30, 192, 185)

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

Accessibility — WCAG contrast

Aa
#b9c01e on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#b9c01e on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFB700
deuteranopia · #D0BA30
tritanopia · #C6B4A4

Color scale — 50 to 950

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

#FBFCF3
#F8F8E7
#F1F3C9
#ECF09E
#E3E86D
#DAE13D
#CCD421
#b9c01e
#888D16
#636614
#3E400D
Base = 700Lightest = 50 · #FBFCF3Darkest = 950 · #3E400D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F1F3C9;
  --brand-300: #ECF09E;
  --brand-400: #E3E86D;
  --brand-500: #DAE13D;
  --brand-600: #CCD421;
  --brand-700: #b9c01e;
  --brand-800: #888D16;
  --brand-900: #636614;
  --brand-950: #3E400D;
  --brand: #b9c01e;
  --brand-ink: #000000;
}

Colors that work with #b9c01e

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#EBEDC0
Hairlines and dividers
Muted text#979B4B
Captions on the surface
Accent#1A3DC4
Second voice, not a rival
Dark variant#6A6E11
Hover, pressed, headers
Light variant#FBFCE9
Selected rows, tints
Dark surface#242414
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 #b9c01e

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#251EC0
Analogous left#C0761E
Analogous right#68C01E
Split-complement 1#1E68C0
Split-complement 2#761EC0
Triadic 1#1EB9C0
Triadic 2#C01EB9
Tetradic#1EC076

RGB percentages

Red72.5%
Green75.3%
Blue11.8%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow84.4%
Key (black)24.7%

Color previews

#b9c01e text on a black background

contrast 10.62:1

Card sample

#b9c01e text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9c01e

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.

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

#b9c01e, answered

What color is #b9c01e?

#b9c01e is a dark vivid yellow, closest to Yellow Green (ΔE2000 9.1). It sits at 63° on the hue wheel with 73% saturation and 44% lightness, which reads as warm.

What is the RGB value of #b9c01e?

rgb(185, 192, 30) — 185 red, 192 green and 30 blue out of 255, or 72.5% / 75.3% / 11.8% by channel.

Is #b9c01e a light or a dark color?

It is a mid-tone. Relative luminance is 0.4811 and perceived brightness is 70%, so black text on it reaches 10.62:1.

Should I use black or white text on #b9c01e?

Black. It scores 10.62:1 against #b9c01e, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #b9c01e?

#251EC0 sits directly opposite on the wheel. Softer options are the split-complements #1E68C0 and #761EC0, which give the same contrast with far less vibration.

What colors go well with #b9c01e?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #979B4B for secondary text, #1A3DC4 as an accent and #6A6E11 for hover and pressed states. For a palette, the analogous pair #C0761E and #68C01E stays calm, while #251EC0 is the loudest partner.

What is #b9c01e in CMYK for printing?

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

Is #b9c01e warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C08C1E; nudged cooler, #7EC21C.

Work with #b9c01e in the Color Lab