Skip to content

#98cd4f

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

RGB
152, 205, 79
HSL
85°, 56%, 56%
CMYK
26, 0, 62, 20
Luminance
0.5090

At a glance

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

Hex
#98cd4f
Hue
85°
green
Saturation
56%
vivid
Lightness
56%
balanced
Brightness
80%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5090
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.18:1
Closest name
Yellow Green
ΔE2000 3.2
Where it sits
Hue85° of 360°
Saturation56%
Lightness56%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#98cd4f
RGBrgb(152, 205, 79)
HSLhsl(85, 56%, 56%)
CMYKcmyk(26%, 0%, 62%, 20%)
LABlab(76.6 -36.8 55.7)
LCHlch(76.6 66.8 123.5)
OKLCHoklch(0.786 0.165 128.9)
Decimal10014031
Display P3color(display-p3 0.596 0.804 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#98cd4f on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#98cd4f on black: 11.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6BF40
deuteranopia · #CFBC58
tritanopia · #9CC5B2

Color scale — 50 to 950

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

#F8FBF4
#F1F6E9
#E0EECE
#CCE6A8
#B2DA7C
#98cd4f
#85BF36
#6F9F2D
#597F24
#425D1E
#293A13
Base = 500Lightest = 50 · #F8FBF4Darkest = 950 · #293A13
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F6E9;
  --brand-200: #E0EECE;
  --brand-300: #CCE6A8;
  --brand-400: #B2DA7C;
  --brand-500: #98cd4f;
  --brand-600: #85BF36;
  --brand-700: #6F9F2D;
  --brand-800: #597F24;
  --brand-900: #425D1E;
  --brand-950: #293A13;
  --brand: #98cd4f;
  --brand-ink: #000000;
}

Colors that work with #98cd4f

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#F8FAF4
Tinted page background
Border#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#614AD2
Second voice, not a rival
Dark variant#45631C
Hover, pressed, headers
Light variant#F3F9EB
Selected rows, tints
Dark surface#1D2414
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 #98cd4f

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#844FCD
Analogous left#CDC34F
Analogous right#59CD4F
Split-complement 1#4F59CD
Split-complement 2#C34FCD
Triadic 1#4F98CD
Triadic 2#CD4F98
Tetradic#4FCDC3

RGB percentages

Red59.6%
Green80.4%
Blue31.0%

CMYK percentages

Cyan25.9%
Magenta0.0%
Yellow61.5%
Key (black)19.6%

Color previews

#98cd4f text on a black background

contrast 11.18:1

Card sample

#98cd4f text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(152, 205, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 205, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98cd4f;
background: linear-gradient(135deg, #98cd4f, #4FCD5A);

Monochromatic scale

Palettes built from #98cd4f

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.

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

#98cd4f, answered

What color is #98cd4f?

#98cd4f is a balanced vivid green, closest to Yellow Green (ΔE2000 3.2). It sits at 85° on the hue wheel with 56% saturation and 56% lightness, which reads as neutral.

What is the RGB value of #98cd4f?

rgb(152, 205, 79) — 152 red, 205 green and 79 blue out of 255, or 59.6% / 80.4% / 31% by channel.

Is #98cd4f a light or a dark color?

It is a light color. Relative luminance is 0.5090 and perceived brightness is 70%, so black text on it reaches 11.18:1.

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

Black. It scores 11.18:1 against #98cd4f, versus 1.88:1 for white — AAA at any size.

What is the complementary color of #98cd4f?

#844FCD sits directly opposite on the wheel. Softer options are the split-complements #4F59CD and #C34FCD, which give the same contrast with far less vibration.

What colors go well with #98cd4f?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #614AD2 as an accent and #45631C for hover and pressed states. For a palette, the analogous pair #CDC34F and #59CD4F stays calm, while #844FCD is the loudest partner.

What is #98cd4f in CMYK for printing?

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

Is #98cd4f warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C6CD4F; nudged cooler, #69CF4D.

Work with #98cd4f in the Color Lab