Skip to content

#98ac68

a balanced, soft green · warm · closest name: Dark Khaki

RGB
152, 172, 104
HSL
78°, 29%, 54%
CMYK
12, 0, 40, 33
Luminance
0.3718

At a glance

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

Hex
#98ac68
Hue
78°
green
Saturation
29%
soft
Lightness
54%
balanced
Brightness
67%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3718
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Soft
Best ink
Black
8.44:1
Closest name
Dark Khaki
ΔE2000 8.8
Where it sits
Hue78° of 360°
Saturation29%
Lightness54%
Temperature
Warm ← → Cool41% 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#98ac68
RGBrgb(152, 172, 104)
HSLhsl(78, 29%, 54%)
CMYKcmyk(12%, 0%, 40%, 33%)
LABlab(67.4 -18.4 32.7)
LCHlch(67.4 37.5 119.3)
OKLCHoklch(0.713 0.095 122.2)
Decimal10005608
Display P3color(display-p3 0.596 0.675 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#98ac68 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#98ac68 on black: 8.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B4A563
deuteranopia · #B1A46B
tritanopia · #9DA69B

Color scale — 50 to 950

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

#F8F9F6
#F1F3EC
#E1E6D5
#CED7B7
#B5C392
#98ac68
#899E57
#728448
#5B693A
#444E2D
#2A301C
Base = 500Lightest = 50 · #F8F9F6Darkest = 950 · #2A301C
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F1F3EC;
  --brand-200: #E1E6D5;
  --brand-300: #CED7B7;
  --brand-400: #B5C392;
  --brand-500: #98ac68;
  --brand-600: #899E57;
  --brand-700: #728448;
  --brand-800: #5B693A;
  --brand-900: #444E2D;
  --brand-950: #2A301C;
  --brand: #98ac68;
  --brand-ink: #000000;
}

Colors that work with #98ac68

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#F8FAF5
Tinted page background
Border#DBE2CA
Hairlines and dividers
Muted text#819451
Captions on the surface
Accent#6763B1
Second voice, not a rival
Dark variant#47522D
Hover, pressed, headers
Light variant#F4F6EF
Selected rows, tints
Dark surface#1F2414
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 #98ac68

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#7C68AC
Analogous left#AC9E68
Analogous right#76AC68
Split-complement 1#6876AC
Split-complement 2#9E68AC
Triadic 1#6898AC
Triadic 2#AC6898
Tetradic#68AC9E

RGB percentages

Red59.6%
Green67.5%
Blue40.8%

CMYK percentages

Cyan11.6%
Magenta0.0%
Yellow39.5%
Key (black)32.5%

Color previews

#98ac68 text on a black background

contrast 8.44:1

Card sample

#98ac68 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #98ac68

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.

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

#98ac68, answered

What color is #98ac68?

#98ac68 is a balanced soft green, closest to Dark Khaki (ΔE2000 8.8). It sits at 78° on the hue wheel with 29% saturation and 54% lightness, which reads as warm.

What is the RGB value of #98ac68?

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

Is #98ac68 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3718 and perceived brightness is 63%, so black text on it reaches 8.44:1.

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

Black. It scores 8.44:1 against #98ac68, versus 2.49:1 for white — AAA at any size.

What is the complementary color of #98ac68?

#7C68AC sits directly opposite on the wheel. Softer options are the split-complements #6876AC and #9E68AC, which give the same contrast with far less vibration.

What colors go well with #98ac68?

For interface work: #F8FAF5 as the surface, #DBE2CA for borders, #819451 for secondary text, #6763B1 as an accent and #47522D for hover and pressed states. For a palette, the analogous pair #AC9E68 and #76AC68 stays calm, while #7C68AC is the loudest partner.

What is #98ac68 in CMYK for printing?

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

Is #98ac68 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ACA768; nudged cooler, #7EAE66.

Work with #98ac68 in the Color Lab