Skip to content

#afd299

a light, soft green · neutral · closest name: Dark Sea Green

RGB
175, 210, 153
HSL
97°, 39%, 71%
CMYK
17, 0, 27, 18
Luminance
0.5751

At a glance

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

Hex
#afd299
Hue
97°
green
Saturation
39%
soft
Lightness
71%
light
Brightness
82%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5751
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Soft
Best ink
Black
12.50:1
Closest name
Dark Sea Green
ΔE2000 7.2
Where it sits
Hue97° of 360°
Saturation39%
Lightness71%
Temperature
Warm ← → Cool53% 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#afd299
RGBrgb(175, 210, 153)
HSLhsl(97, 39%, 71%)
CMYKcmyk(17%, 0%, 27%, 18%)
LABlab(80.5 -21.9 24.6)
LCHlch(80.5 32.9 131.7)
OKLCHoklch(0.824 0.086 133.7)
Decimal11522713
Display P3color(display-p3 0.686 0.824 0.600)

Copy-ready code

/* CSS */
color: #afd299;
background-color: #afd299;
/* Tailwind (arbitrary) */
class="text-[#afd299] bg-[#afd299]"
/* SCSS */
$brand: #afd299;
/* SwiftUI */
Color(red: 0.686, green: 0.824, blue: 0.600)
/* Android */
Color.parseColor("#afd299")
/* Flutter */
Color(0xFFAFD299)
/* Python / OpenCV (BGR) */
(153, 210, 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 #afd299 · 12.50:1
Use #000000AAA at every size.
Aa
White text · 1.68:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.50:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #afd299 as text scores 1.68:1 on white and 12.50:1 on black.

Accessibility — WCAG contrast

Aa
#afd299 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#afd299 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7CA95
deuteranopia · #D1C79C
tritanopia · #B0CDC3

Color scale — 50 to 950

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

#F7FAF5
#EFF4EB
#DBE9D3
#C2DDB1
#afd299
#85BA63
#70AA4B
#5D8E3E
#4A7132
#385327
#233419
Base = 400Lightest = 50 · #F7FAF5Darkest = 950 · #233419
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EFF4EB;
  --brand-200: #DBE9D3;
  --brand-300: #C2DDB1;
  --brand-400: #afd299;
  --brand-500: #85BA63;
  --brand-600: #70AA4B;
  --brand-700: #5D8E3E;
  --brand-800: #4A7132;
  --brand-900: #385327;
  --brand-950: #233419;
  --brand: #afd299;
  --brand-ink: #000000;
}

Colors that work with #afd299

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#F7FAF4
Tinted page background
Border#D3E6C6
Hairlines and dividers
Muted text#6A9B4B
Captions on the surface
Accent#5A3A92
Second voice, not a rival
Dark variant#3A5827
Hover, pressed, headers
Light variant#F1F7ED
Selected rows, tints
Dark surface#1A2414
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 #afd299

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#BC99D2
Analogous left#CCD299
Analogous right#99D2A0
Split-complement 1#A099D2
Split-complement 2#D299CC
Triadic 1#99AFD2
Triadic 2#D299AF
Tetradic#99CCD2

RGB percentages

Red68.6%
Green82.4%
Blue60.0%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow27.1%
Key (black)17.6%

Color previews

#afd299 text on a black background

contrast 12.50:1

Card sample

#afd299 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 210, 153, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 210, 153, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd299;
background: linear-gradient(135deg, #afd299, #99D2A9);

Monochromatic scale

Palettes built from #afd299

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.

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

#afd299, answered

What color is #afd299?

#afd299 is a light soft green, closest to Dark Sea Green (ΔE2000 7.2). It sits at 97° on the hue wheel with 39% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #afd299?

rgb(175, 210, 153) — 175 red, 210 green and 153 blue out of 255, or 68.6% / 82.4% / 60% by channel.

Is #afd299 a light or a dark color?

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

Should I use black or white text on #afd299?

Black. It scores 12.50:1 against #afd299, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #afd299?

#BC99D2 sits directly opposite on the wheel. Softer options are the split-complements #A099D2 and #D299CC, which give the same contrast with far less vibration.

What colors go well with #afd299?

For interface work: #F7FAF4 as the surface, #D3E6C6 for borders, #6A9B4B for secondary text, #5A3A92 as an accent and #3A5827 for hover and pressed states. For a palette, the analogous pair #CCD299 and #99D2A0 stays calm, while #BC99D2 is the loudest partner.

What is #afd299 in CMYK for printing?

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

Is #afd299 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C4D299; nudged cooler, #99D498.

Work with #afd299 in the Color Lab