Skip to content

#98ac29

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

RGB
152, 172, 41
HSL
69°, 62%, 42%
CMYK
12, 0, 76, 33
Luminance
0.3634

At a glance

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

Hex
#98ac29
Hue
69°
yellow
Saturation
62%
vivid
Lightness
42%
dark
Brightness
67%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3634
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Yellow Green
ΔE2000 9.3
Where it sits
Hue69° of 360°
Saturation62%
Lightness42%
Temperature
Warm ← → Cool33% 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#98ac29
RGBrgb(152, 172, 41)
HSLhsl(69, 62%, 42%)
CMYKcmyk(12%, 0%, 76%, 33%)
LABlab(66.8 -23.7 60.3)
LCHlch(66.8 64.8 111.5)
OKLCHoklch(0.706 0.151 118.2)
Decimal10005545
Display P3color(display-p3 0.596 0.675 0.161)

Copy-ready code

/* CSS */
color: #98ac29;
background-color: #98ac29;
/* Tailwind (arbitrary) */
class="text-[#98ac29] bg-[#98ac29]"
/* SCSS */
$brand: #98ac29;
/* SwiftUI */
Color(red: 0.596, green: 0.675, blue: 0.161)
/* Android */
Color.parseColor("#98ac29")
/* Flutter */
Color(0xFF98AC29)
/* Python / OpenCV (BGR) */
(41, 172, 152)

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

Accessibility — WCAG contrast

Aa
#98ac29 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#98ac29 on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8A207
deuteranopia · #B6A335
tritanopia · #A1A293

Color scale — 50 to 950

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

#FAFBF4
#F5F7E8
#EAF0CC
#DFE9A4
#CFDF77
#BFD44A
#AFC62F
#98ac29
#74841F
#55601B
#353C11
Base = 700Lightest = 50 · #FAFBF4Darkest = 950 · #353C11
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F5F7E8;
  --brand-200: #EAF0CC;
  --brand-300: #DFE9A4;
  --brand-400: #CFDF77;
  --brand-500: #BFD44A;
  --brand-600: #AFC62F;
  --brand-700: #98ac29;
  --brand-800: #74841F;
  --brand-900: #55601B;
  --brand-950: #353C11;
  --brand: #98ac29;
  --brand-ink: #000000;
}

Colors that work with #98ac29

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#E6EDC0
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#2532B0
Second voice, not a rival
Dark variant#5B6719
Hover, pressed, headers
Light variant#F8FAEA
Selected rows, tints
Dark surface#222414
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 #98ac29

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#3D29AC
Analogous left#AC7F29
Analogous right#56AC29
Split-complement 1#2956AC
Split-complement 2#7F29AC
Triadic 1#2998AC
Triadic 2#AC2998
Tetradic#29AC7F

RGB percentages

Red59.6%
Green67.5%
Blue16.1%

CMYK percentages

Cyan11.6%
Magenta0.0%
Yellow76.2%
Key (black)32.5%

Color previews

#98ac29 text on a black background

contrast 8.27:1

Card sample

#98ac29 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(152, 172, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 172, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98ac29;
background: linear-gradient(135deg, #98ac29, #41AC29);

Monochromatic scale

Palettes built from #98ac29

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.

#98ac29 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.

#98ac29, answered

What color is #98ac29?

#98ac29 is a dark vivid yellow, closest to Yellow Green (ΔE2000 9.3). It sits at 69° on the hue wheel with 62% saturation and 42% lightness, which reads as warm.

What is the RGB value of #98ac29?

rgb(152, 172, 41) — 152 red, 172 green and 41 blue out of 255, or 59.6% / 67.5% / 16.1% by channel.

Is #98ac29 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3634 and perceived brightness is 61%, so black text on it reaches 8.27:1.

Should I use black or white text on #98ac29?

Black. It scores 8.27:1 against #98ac29, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #98ac29?

#3D29AC sits directly opposite on the wheel. Softer options are the split-complements #2956AC and #7F29AC, which give the same contrast with far less vibration.

What colors go well with #98ac29?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8F9B4B for secondary text, #2532B0 as an accent and #5B6719 for hover and pressed states. For a palette, the analogous pair #AC7F29 and #56AC29 stays calm, while #3D29AC is the loudest partner.

What is #98ac29 in CMYK for printing?

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

Is #98ac29 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC9029; nudged cooler, #68AE27.

Work with #98ac29 in the Color Lab