Skip to content

#98ac00

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

RGB
152, 172, 0
HSL
67°, 100%, 34%
CMYK
12, 0, 100, 33
Luminance
0.3618

At a glance

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

Hex
#98ac00
Hue
67°
yellow
Saturation
100%
electric
Lightness
34%
dark
Brightness
67%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3618
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
8.24:1
Closest name
Yellow Green
ΔE2000 9.7
Where it sits
Hue67° of 360°
Saturation100%
Lightness34%
Temperature
Warm ← → Cool31% 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#98ac00
RGBrgb(152, 172, 0)
HSLhsl(67, 100%, 34%)
CMYKcmyk(12%, 0%, 100%, 33%)
LABlab(66.7 -24.8 68.5)
LCHlch(66.7 72.8 109.9)
OKLCHoklch(0.704 0.164 117.8)
Decimal10005504
Display P3color(display-p3 0.596 0.675 0.000)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#98ac00 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#98ac00 on black: 8.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8A200
deuteranopia · #B6A31F
tritanopia · #A2A292

Color scale — 50 to 950

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

#FCFEF1
#F9FCE3
#F5FCC0
#F2FF8F
#EBFF57
#E5FF1F
#D8F500
#B4CC00
#98ac00
#687605
#414903
Base = 800Lightest = 50 · #FCFEF1Darkest = 950 · #414903
:root {
  --brand-50: #FCFEF1;
  --brand-100: #F9FCE3;
  --brand-200: #F5FCC0;
  --brand-300: #F2FF8F;
  --brand-400: #EBFF57;
  --brand-500: #E5FF1F;
  --brand-600: #D8F500;
  --brand-700: #B4CC00;
  --brand-800: #98ac00;
  --brand-900: #687605;
  --brand-950: #414903;
  --brand: #98ac00;
  --brand-ink: #000000;
}

Colors that work with #98ac00

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#E7EDC0
Hairlines and dividers
Muted text#929B4B
Captions on the surface
Accent#0017AC
Second voice, not a rival
Dark variant#718000
Hover, pressed, headers
Light variant#FCFFE5
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 #98ac00

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#1400AC
Analogous left#AC6A00
Analogous right#42AC00
Split-complement 1#0042AC
Split-complement 2#6A00AC
Triadic 1#0098AC
Triadic 2#AC0098
Tetradic#00AC6A

RGB percentages

Red59.6%
Green67.5%
Blue0.0%

CMYK percentages

Cyan11.6%
Magenta0.0%
Yellow100.0%
Key (black)32.5%

Color previews

#98ac00 text on a black background

contrast 8.24:1

Card sample

#98ac00 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #98ac00

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.

#98ac00 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#98ac00, answered

What color is #98ac00?

#98ac00 is a dark electric yellow, closest to Yellow Green (ΔE2000 9.7). It sits at 67° on the hue wheel with 100% saturation and 34% lightness, which reads as warm.

What is the RGB value of #98ac00?

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

Is #98ac00 a light or a dark color?

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

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

Black. It scores 8.24:1 against #98ac00, versus 2.55:1 for white — AAA at any size.

What is the complementary color of #98ac00?

#1400AC sits directly opposite on the wheel. Softer options are the split-complements #0042AC and #6A00AC, which give the same contrast with far less vibration.

What colors go well with #98ac00?

For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #929B4B for secondary text, #0017AC as an accent and #718000 for hover and pressed states. For a palette, the analogous pair #AC6A00 and #42AC00 stays calm, while #1400AC is the loudest partner.

What is #98ac00 in CMYK for printing?

cmyk(12%, 0%, 100%, 33%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #98ac00 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC8100; nudged cooler, #59AC00.

Work with #98ac00 in the Color Lab