Skip to content

#afdb01

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

RGB
175, 219, 1
HSL
72°, 99%, 43%
CMYK
20, 0, 100, 14
Luminance
0.5978

At a glance

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

Hex
#afdb01
Hue
72°
green
Saturation
99%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5978
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.96:1
Closest name
Yellow Green
ΔE2000 5.4
Where it sits
Hue72° of 360°
Saturation99%
Lightness43%
Temperature
Warm ← → Cool35% 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#afdb01
RGBrgb(175, 219, 1)
HSLhsl(72, 99%, 43%)
CMYKcmyk(20%, 0%, 100%, 14%)
LABlab(81.7 -37.3 80.4)
LCHlch(81.7 88.6 114.9)
OKLCHoklch(0.830 0.204 123.1)
Decimal11524865
Display P3color(display-p3 0.686 0.859 0.004)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb01 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#afdb01 on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8CC00
deuteranopia · #E3CB2C
tritanopia · #B9CFBA

Color scale — 50 to 950

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

#FBFEF1
#F7FCE3
#EFFBC0
#E8FE8F
#DDFE57
#D1FE20
#C3F401
#afdb01
#82A201
#5E7505
#3B4903
Base = 700Lightest = 50 · #FBFEF1Darkest = 950 · #3B4903
:root {
  --brand-50: #FBFEF1;
  --brand-100: #F7FCE3;
  --brand-200: #EFFBC0;
  --brand-300: #E8FE8F;
  --brand-400: #DDFE57;
  --brand-500: #D1FE20;
  --brand-600: #C3F401;
  --brand-700: #afdb01;
  --brand-800: #82A201;
  --brand-900: #5E7505;
  --brand-950: #3B4903;
  --brand: #afdb01;
  --brand-ink: #000000;
}

Colors that work with #afdb01

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#E4EDC0
Hairlines and dividers
Muted text#8B9B4B
Captions on the surface
Accent#000BDC
Second voice, not a rival
Dark variant#657F01
Hover, pressed, headers
Light variant#FAFFE6
Selected rows, tints
Dark surface#212414
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 #afdb01

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#2D01DB
Analogous left#DB9A01
Analogous right#42DB01
Split-complement 1#0142DB
Split-complement 2#9A01DB
Triadic 1#01AFDB
Triadic 2#DB01AF
Tetradic#01DB9A

RGB percentages

Red68.6%
Green85.9%
Blue0.4%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow99.5%
Key (black)14.1%

Color previews

#afdb01 text on a black background

contrast 12.96:1

Card sample

#afdb01 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 219, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 219, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdb01;
background: linear-gradient(135deg, #afdb01, #1EDB01);

Monochromatic scale

Palettes built from #afdb01

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.

#afdb01 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#afdb01, answered

What color is #afdb01?

#afdb01 is a dark electric green, closest to Yellow Green (ΔE2000 5.4). It sits at 72° on the hue wheel with 99% saturation and 43% lightness, which reads as warm.

What is the RGB value of #afdb01?

rgb(175, 219, 1) — 175 red, 219 green and 1 blue out of 255, or 68.6% / 85.9% / 0.4% by channel.

Is #afdb01 a light or a dark color?

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

Should I use black or white text on #afdb01?

Black. It scores 12.96:1 against #afdb01, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #afdb01?

#2D01DB sits directly opposite on the wheel. Softer options are the split-complements #0142DB and #9A01DB, which give the same contrast with far less vibration.

What colors go well with #afdb01?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #000BDC as an accent and #657F01 for hover and pressed states. For a palette, the analogous pair #DB9A01 and #42DB01 stays calm, while #2D01DB is the loudest partner.

What is #afdb01 in CMYK for printing?

cmyk(20%, 0%, 100%, 14%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #afdb01 warm or cool?

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

Work with #afdb01 in the Color Lab