Skip to content

#1fdf0b

a balanced, electric green · cool · closest name: Lime Green

RGB
31, 223, 11
HSL
114°, 91%, 46%
CMYK
86, 0, 95, 13
Luminance
0.5309

At a glance

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

Hex
#1fdf0b
Hue
114°
green
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.5309
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.62:1
Closest name
Lime Green
ΔE2000 4.9
Where it sits
Hue114° of 360°
Saturation91%
Lightness46%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#1fdf0b
RGBrgb(31, 223, 11)
HSLhsl(114, 91%, 46%)
CMYKcmyk(86%, 0%, 95%, 13%)
LABlab(77.9 -76.1 74.4)
LCHlch(77.9 106.4 135.7)
OKLCHoklch(0.785 0.262 142.1)
Decimal2088715
Display P3color(display-p3 0.122 0.875 0.043)

Copy-ready code

/* CSS */
color: #1fdf0b;
background-color: #1fdf0b;
/* Tailwind (arbitrary) */
class="text-[#1fdf0b] bg-[#1fdf0b]"
/* SCSS */
$brand: #1fdf0b;
/* SwiftUI */
Color(red: 0.122, green: 0.875, blue: 0.043)
/* Android */
Color.parseColor("#1fdf0b")
/* Flutter */
Color(0xFF1FDF0B)
/* Python / OpenCV (BGR) */
(11, 223, 31)

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

Accessibility — WCAG contrast

Aa
#1fdf0b on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf0b on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4C900
deuteranopia · #D1BC34
tritanopia · #00D8BD

Color scale — 50 to 950

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

#F3FDF2
#E7FBE5
#C8F9C3
#9EFA94
#6DF75F
#3CF429
#1fdf0b
#1BC20A
#169C08
#14700A
#0C4606
Base = 600Lightest = 50 · #F3FDF2Darkest = 950 · #0C4606
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FBE5;
  --brand-200: #C8F9C3;
  --brand-300: #9EFA94;
  --brand-400: #6DF75F;
  --brand-500: #3CF429;
  --brand-600: #1fdf0b;
  --brand-700: #1BC20A;
  --brand-800: #169C08;
  --brand-900: #14700A;
  --brand-950: #0C4606;
  --brand: #1fdf0b;
  --brand-ink: #000000;
}

Colors that work with #1fdf0b

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#F5FAF4
Tinted page background
Border#C4EDC0
Hairlines and dividers
Muted text#529B4B
Captions on the surface
Accent#9706E4
Second voice, not a rival
Dark variant#117A06
Hover, pressed, headers
Light variant#E9FEE7
Selected rows, tints
Dark surface#152414
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 #1fdf0b

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#CB0BDF
Analogous left#89DF0B
Analogous right#0BDF61
Split-complement 1#610BDF
Split-complement 2#DF0B89
Triadic 1#0B1FDF
Triadic 2#DF0B1F
Tetradic#0B89DF

RGB percentages

Red12.2%
Green87.5%
Blue4.3%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow95.1%
Key (black)12.5%

Color previews

#1fdf0b text on a black background

contrast 11.62:1

Card sample

#1fdf0b text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 223, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 223, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fdf0b;
background: linear-gradient(135deg, #1fdf0b, #0BDF84);

Monochromatic scale

Palettes built from #1fdf0b

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.

#1fdf0b 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.

#1fdf0b, answered

What color is #1fdf0b?

#1fdf0b is a balanced electric green, closest to Lime Green (ΔE2000 4.9). It sits at 114° on the hue wheel with 91% saturation and 46% lightness, which reads as cool.

What is the RGB value of #1fdf0b?

rgb(31, 223, 11) — 31 red, 223 green and 11 blue out of 255, or 12.2% / 87.5% / 4.3% by channel.

Is #1fdf0b a light or a dark color?

It is a light color. Relative luminance is 0.5309 and perceived brightness is 67%, so black text on it reaches 11.62:1.

Should I use black or white text on #1fdf0b?

Black. It scores 11.62:1 against #1fdf0b, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #1fdf0b?

#CB0BDF sits directly opposite on the wheel. Softer options are the split-complements #610BDF and #DF0B89, which give the same contrast with far less vibration.

What colors go well with #1fdf0b?

For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #529B4B for secondary text, #9706E4 as an accent and #117A06 for hover and pressed states. For a palette, the analogous pair #89DF0B and #0BDF61 stays calm, while #CB0BDF is the loudest partner.

What is #1fdf0b in CMYK for printing?

cmyk(86%, 0%, 95%, 13%). 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 #1fdf0b warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6DDF0B; nudged cooler, #09E144.

Work with #1fdf0b in the Color Lab