Skip to content

#acd331

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

RGB
172, 211, 49
HSL
74°, 65%, 51%
CMYK
19, 0, 77, 17
Luminance
0.5558

At a glance

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

Hex
#acd331
Hue
74°
green
Saturation
65%
vivid
Lightness
51%
balanced
Brightness
83%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5558
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.12:1
Closest name
Yellow Green
ΔE2000 3.2
Where it sits
Hue74° of 360°
Saturation65%
Lightness51%
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#acd331
RGBrgb(172, 211, 49)
HSLhsl(74, 65%, 51%)
CMYKcmyk(19%, 0%, 77%, 17%)
LABlab(79.4 -33.7 70.0)
LCHlch(79.4 77.7 115.7)
OKLCHoklch(0.811 0.183 122.8)
Decimal11326257
Display P3color(display-p3 0.675 0.827 0.192)

Copy-ready code

/* CSS */
color: #acd331;
background-color: #acd331;
/* Tailwind (arbitrary) */
class="text-[#acd331] bg-[#acd331]"
/* SCSS */
$brand: #acd331;
/* SwiftUI */
Color(red: 0.675, green: 0.827, blue: 0.192)
/* Android */
Color.parseColor("#acd331")
/* Flutter */
Color(0xFFACD331)
/* Python / OpenCV (BGR) */
(49, 211, 172)

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 #acd331 · 12.12:1
Use #000000AAA at every size.
Aa
White text · 1.73:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.12:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #acd331 as text scores 1.73:1 on white and 12.12:1 on black.

Accessibility — WCAG contrast

Aa
#acd331 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#acd331 on black: 12.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0C600
deuteranopia · #DBC441
tritanopia · #B5C8B5

Color scale — 50 to 950

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

#F9FBF3
#F4F7E8
#E8F1CB
#DAEBA3
#C7E174
#B5D846
#acd331
#88A824
#6D861D
#506219
#323D0F
Base = 600Lightest = 50 · #F9FBF3Darkest = 950 · #323D0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F4F7E8;
  --brand-200: #E8F1CB;
  --brand-300: #DAEBA3;
  --brand-400: #C7E174;
  --brand-500: #B5D846;
  --brand-600: #acd331;
  --brand-700: #88A824;
  --brand-800: #6D861D;
  --brand-900: #506219;
  --brand-950: #323D0F;
  --brand: #acd331;
  --brand-ink: #000000;
}

Colors that work with #acd331

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#889B4B
Captions on the surface
Accent#2C2ED8
Second voice, not a rival
Dark variant#556916
Hover, pressed, headers
Light variant#F7FBEA
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 #acd331

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#5831D3
Analogous left#D3A931
Analogous right#5BD331
Split-complement 1#315BD3
Split-complement 2#A931D3
Triadic 1#31ACD3
Triadic 2#D331AC
Tetradic#31D3A9

RGB percentages

Red67.5%
Green82.7%
Blue19.2%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow76.8%
Key (black)17.3%

Color previews

#acd331 text on a black background

contrast 12.12:1

Card sample

#acd331 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 211, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 211, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acd331;
background: linear-gradient(135deg, #acd331, #40D331);

Monochromatic scale

Palettes built from #acd331

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.

#acd331 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.

#acd331, answered

What color is #acd331?

#acd331 is a balanced vivid green, closest to Yellow Green (ΔE2000 3.2). It sits at 74° on the hue wheel with 65% saturation and 51% lightness, which reads as warm.

What is the RGB value of #acd331?

rgb(172, 211, 49) — 172 red, 211 green and 49 blue out of 255, or 67.5% / 82.7% / 19.2% by channel.

Is #acd331 a light or a dark color?

It is a light color. Relative luminance is 0.5558 and perceived brightness is 74%, so black text on it reaches 12.12:1.

Should I use black or white text on #acd331?

Black. It scores 12.12:1 against #acd331, versus 1.73:1 for white — AAA at any size.

What is the complementary color of #acd331?

#5831D3 sits directly opposite on the wheel. Softer options are the split-complements #315BD3 and #A931D3, which give the same contrast with far less vibration.

What colors go well with #acd331?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #889B4B for secondary text, #2C2ED8 as an accent and #556916 for hover and pressed states. For a palette, the analogous pair #D3A931 and #5BD331 stays calm, while #5831D3 is the loudest partner.

What is #acd331 in CMYK for printing?

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

Is #acd331 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 #D3BF31; nudged cooler, #70D62F.

Work with #acd331 in the Color Lab