Skip to content

#afd67f

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

RGB
175, 214, 127
HSL
87°, 52%, 67%
CMYK
18, 0, 41, 16
Luminance
0.5874

At a glance

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

Hex
#afd67f
Hue
87°
green
Saturation
52%
vivid
Lightness
67%
light
Brightness
84%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5874
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.75:1
Closest name
Yellow Green
ΔE2000 8.8
Where it sits
Hue87° of 360°
Saturation52%
Lightness67%
Temperature
Warm ← → Cool47% 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#afd67f
RGBrgb(175, 214, 127)
HSLhsl(87, 52%, 67%)
CMYKcmyk(18%, 0%, 41%, 16%)
LABlab(81.2 -27.4 38.8)
LCHlch(81.2 47.5 125.3)
OKLCHoklch(0.828 0.121 128.5)
Decimal11523711
Display P3color(display-p3 0.686 0.839 0.498)

Copy-ready code

/* CSS */
color: #afd67f;
background-color: #afd67f;
/* Tailwind (arbitrary) */
class="text-[#afd67f] bg-[#afd67f]"
/* SCSS */
$brand: #afd67f;
/* SwiftUI */
Color(red: 0.686, green: 0.839, blue: 0.498)
/* Android */
Color.parseColor("#afd67f")
/* Flutter */
Color(0xFFAFD67F)
/* Python / OpenCV (BGR) */
(127, 214, 175)

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

Accessibility — WCAG contrast

Aa
#afd67f on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#afd67f on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DECB78
deuteranopia · #D8C984
tritanopia · #B3CFC1

Color scale — 50 to 950

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

#F8FAF4
#F0F6EA
#DFEDCF
#CAE4AA
#afd67f
#95C955
#81B93B
#6B9B31
#567C28
#405A20
#283814
Base = 400Lightest = 50 · #F8FAF4Darkest = 950 · #283814
:root {
  --brand-50: #F8FAF4;
  --brand-100: #F0F6EA;
  --brand-200: #DFEDCF;
  --brand-300: #CAE4AA;
  --brand-400: #afd67f;
  --brand-500: #95C955;
  --brand-600: #81B93B;
  --brand-700: #6B9B31;
  --brand-800: #567C28;
  --brand-900: #405A20;
  --brand-950: #283814;
  --brand: #afd67f;
  --brand-ink: #000000;
}

Colors that work with #afd67f

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#D8EBC1
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#8E7CD9
Second voice, not a rival
Dark variant#43611F
Hover, pressed, headers
Light variant#F3F9EC
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 #afd67f

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
  • Card and section backgrounds
  • 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
  • White 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#A67FD6
Analogous left#D6D27F
Analogous right#84D67F
Split-complement 1#7F84D6
Split-complement 2#D27FD6
Triadic 1#7FAFD6
Triadic 2#D67FAF
Tetradic#7FD6D2

RGB percentages

Red68.6%
Green83.9%
Blue49.8%

CMYK percentages

Cyan18.2%
Magenta0.0%
Yellow40.7%
Key (black)16.1%

Color previews

#afd67f text on a black background

contrast 12.75:1

Card sample

#afd67f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 214, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 214, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd67f;
background: linear-gradient(135deg, #afd67f, #7FD689);

Monochromatic scale

Palettes built from #afd67f

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.

#afd67f 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#afd67f, answered

What color is #afd67f?

#afd67f is a light vivid green, closest to Yellow Green (ΔE2000 8.8). It sits at 87° on the hue wheel with 52% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #afd67f?

rgb(175, 214, 127) — 175 red, 214 green and 127 blue out of 255, or 68.6% / 83.9% / 49.8% by channel.

Is #afd67f a light or a dark color?

It is a light color. Relative luminance is 0.5874 and perceived brightness is 76%, so black text on it reaches 12.75:1.

Should I use black or white text on #afd67f?

Black. It scores 12.75:1 against #afd67f, versus 1.65:1 for white — AAA at any size.

What is the complementary color of #afd67f?

#A67FD6 sits directly opposite on the wheel. Softer options are the split-complements #7F84D6 and #D27FD6, which give the same contrast with far less vibration.

What colors go well with #afd67f?

For interface work: #F8FAF4 as the surface, #D8EBC1 for borders, #779B4B for secondary text, #8E7CD9 as an accent and #43611F for hover and pressed states. For a palette, the analogous pair #D6D27F and #84D67F stays calm, while #A67FD6 is the loudest partner.

What is #afd67f in CMYK for printing?

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

Is #afd67f warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFD67F; nudged cooler, #8ED87D.

Work with #afd67f in the Color Lab