Skip to content

#98b708

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

RGB
152, 183, 8
HSL
71°, 92%, 38%
CMYK
17, 0, 96, 28
Luminance
0.4056

At a glance

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

Hex
#98b708
Hue
71°
green
Saturation
92%
electric
Lightness
38%
dark
Brightness
72%
HSV value
Perceived
64%
weighted brightness
Luminance
0.4056
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.11:1
Closest name
Yellow Green
ΔE2000 6.4
Where it sits
Hue71° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool34% 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#98b708
RGBrgb(152, 183, 8)
HSLhsl(71, 92%, 38%)
CMYKcmyk(17%, 0%, 96%, 28%)
LABlab(69.9 -30.0 70.0)
LCHlch(69.9 76.1 113.2)
OKLCHoklch(0.730 0.174 121.1)
Decimal10008328
Display P3color(display-p3 0.596 0.718 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#98b708 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#98b708 on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3AB00
deuteranopia · #BFAB26
tritanopia · #A1AD9B

Color scale — 50 to 950

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

#FBFDF2
#F7FBE4
#EFF9C3
#E8FA94
#DDF85E
#D1F628
#C3EB0A
#98b708
#829C07
#5F710A
#3B4606
Base = 700Lightest = 50 · #FBFDF2Darkest = 950 · #3B4606
:root {
  --brand-50: #FBFDF2;
  --brand-100: #F7FBE4;
  --brand-200: #EFF9C3;
  --brand-300: #E8FA94;
  --brand-400: #DDF85E;
  --brand-500: #D1F628;
  --brand-600: #C3EB0A;
  --brand-700: #98b708;
  --brand-800: #829C07;
  --brand-900: #5F710A;
  --brand-950: #3B4606;
  --brand: #98b708;
  --brand-ink: #000000;
}

Colors that work with #98b708

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#E5EDC0
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#0412BB
Second voice, not a rival
Dark variant#667A05
Hover, pressed, headers
Light variant#FAFEE7
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 #98b708

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
  • 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#2708B7
Analogous left#B77F08
Analogous right#41B708
Split-complement 1#0841B7
Split-complement 2#7F08B7
Triadic 1#0898B7
Triadic 2#B70898
Tetradic#08B77F

RGB percentages

Red59.6%
Green71.8%
Blue3.1%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow95.6%
Key (black)28.2%

Color previews

#98b708 text on a black background

contrast 9.11:1

Card sample

#98b708 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #98b708

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.

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

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

#98b708, answered

What color is #98b708?

#98b708 is a dark electric green, closest to Yellow Green (ΔE2000 6.4). It sits at 71° on the hue wheel with 92% saturation and 38% lightness, which reads as warm.

What is the RGB value of #98b708?

rgb(152, 183, 8) — 152 red, 183 green and 8 blue out of 255, or 59.6% / 71.8% / 3.1% by channel.

Is #98b708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4056 and perceived brightness is 64%, so black text on it reaches 9.11:1.

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

Black. It scores 9.11:1 against #98b708, versus 2.30:1 for white — AAA at any size.

What is the complementary color of #98b708?

#2708B7 sits directly opposite on the wheel. Softer options are the split-complements #0841B7 and #7F08B7, which give the same contrast with far less vibration.

What colors go well with #98b708?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #0412BB as an accent and #667A05 for hover and pressed states. For a palette, the analogous pair #B77F08 and #41B708 stays calm, while #2708B7 is the loudest partner.

What is #98b708 in CMYK for printing?

cmyk(17%, 0%, 96%, 28%). 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 #98b708 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B79608; nudged cooler, #58B906.

Work with #98b708 in the Color Lab