Skip to content

#98c01c

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

RGB
152, 192, 28
HSL
75°, 75%, 43%
CMYK
21, 0, 85, 25
Luminance
0.4446

At a glance

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

Hex
#98c01c
Hue
75°
green
Saturation
75%
vivid
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4446
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
9.89:1
Closest name
Yellow Green
ΔE2000 3.7
Where it sits
Hue75° of 360°
Saturation75%
Lightness43%
Temperature
Warm ← → Cool37% 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#98c01c
RGBrgb(152, 192, 28)
HSLhsl(75, 75%, 43%)
CMYKcmyk(21%, 0%, 85%, 25%)
LABlab(72.5 -33.7 68.9)
LCHlch(72.5 76.7 116.1)
OKLCHoklch(0.752 0.179 123.7)
Decimal10010652
Display P3color(display-p3 0.596 0.753 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#98c01c on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#98c01c on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBB300
deuteranopia · #C6B231
tritanopia · #A0B6A4

Color scale — 50 to 950

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

#FAFCF3
#F4F9E7
#E9F4C8
#DCF19D
#CBEA6C
#BAE23B
#A9D61F
#98c01c
#718E15
#536713
#34400C
Base = 700Lightest = 50 · #FAFCF3Darkest = 950 · #34400C
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F4F9E7;
  --brand-200: #E9F4C8;
  --brand-300: #DCF19D;
  --brand-400: #CBEA6C;
  --brand-500: #BAE23B;
  --brand-600: #A9D61F;
  --brand-700: #98c01c;
  --brand-800: #718E15;
  --brand-900: #536713;
  --brand-950: #34400C;
  --brand: #98c01c;
  --brand-ink: #000000;
}

Colors that work with #98c01c

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#E2EDC0
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#1819C4
Second voice, not a rival
Dark variant#586F10
Hover, pressed, headers
Light variant#F7FCE9
Selected rows, tints
Dark surface#202414
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 #98c01c

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#441CC0
Analogous left#C0961C
Analogous right#46C01C
Split-complement 1#1C46C0
Split-complement 2#961CC0
Triadic 1#1C98C0
Triadic 2#C01C98
Tetradic#1CC096

RGB percentages

Red59.6%
Green75.3%
Blue11.0%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow85.4%
Key (black)24.7%

Color previews

#98c01c text on a black background

contrast 9.89:1

Card sample

#98c01c text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(152, 192, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 192, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98c01c;
background: linear-gradient(135deg, #98c01c, #2BC01C);

Monochromatic scale

Palettes built from #98c01c

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.

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

#98c01c, answered

What color is #98c01c?

#98c01c is a dark vivid green, closest to Yellow Green (ΔE2000 3.7). It sits at 75° on the hue wheel with 75% saturation and 43% lightness, which reads as warm.

What is the RGB value of #98c01c?

rgb(152, 192, 28) — 152 red, 192 green and 28 blue out of 255, or 59.6% / 75.3% / 11% by channel.

Is #98c01c a light or a dark color?

It is a mid-tone. Relative luminance is 0.4446 and perceived brightness is 66%, so black text on it reaches 9.89:1.

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

Black. It scores 9.89:1 against #98c01c, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #98c01c?

#441CC0 sits directly opposite on the wheel. Softer options are the split-complements #1C46C0 and #961CC0, which give the same contrast with far less vibration.

What colors go well with #98c01c?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #879B4B for secondary text, #1819C4 as an accent and #586F10 for hover and pressed states. For a palette, the analogous pair #C0961C and #46C01C stays calm, while #441CC0 is the loudest partner.

What is #98c01c in CMYK for printing?

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

Is #98c01c warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C0AC1C; nudged cooler, #5BC21A.

Work with #98c01c in the Color Lab