Skip to content

#8af534

a balanced, electric green · neutral · closest name: Lawn Green

RGB
138, 245, 52
HSL
93°, 91%, 58%
CMYK
44, 0, 79, 4
Luminance
0.7096

At a glance

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

Hex
#8af534
Hue
93°
green
Saturation
91%
electric
Lightness
58%
balanced
Brightness
96%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7096
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.19:1
Closest name
Lawn Green
ΔE2000 2.3
Where it sits
Hue93° of 360°
Saturation91%
Lightness58%
Temperature
Warm ← → Cool51% 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#8af534
RGBrgb(138, 245, 52)
HSLhsl(93, 91%, 58%)
CMYKcmyk(44%, 0%, 79%, 4%)
LABlab(87.5 -59.9 75.9)
LCHlch(87.5 96.7 128.3)
OKLCHoklch(0.872 0.237 135.0)
Decimal9106740
Display P3color(display-p3 0.541 0.961 0.204)

Copy-ready code

/* CSS */
color: #8af534;
background-color: #8af534;
/* Tailwind (arbitrary) */
class="text-[#8af534] bg-[#8af534]"
/* SCSS */
$brand: #8af534;
/* SwiftUI */
Color(red: 0.541, green: 0.961, blue: 0.204)
/* Android */
Color.parseColor("#8af534")
/* Flutter */
Color(0xFF8AF534)
/* Python / OpenCV (BGR) */
(52, 245, 138)

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

Accessibility — WCAG contrast

Aa
#8af534 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8af534 on black: 15.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE100
deuteranopia · #F0D84B
tritanopia · #87ECD2

Color scale — 50 to 950

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

#F7FDF2
#EEFBE5
#DBF9C3
#C1FA94
#A2F75F
#8af534
#6EE90C
#5CC20A
#499C08
#38700A
#234606
Base = 500Lightest = 50 · #F7FDF2Darkest = 950 · #234606
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EEFBE5;
  --brand-200: #DBF9C3;
  --brand-300: #C1FA94;
  --brand-400: #A2F75F;
  --brand-500: #8af534;
  --brand-600: #6EE90C;
  --brand-700: #5CC20A;
  --brand-800: #499C08;
  --brand-900: #38700A;
  --brand-950: #234606;
  --brand: #8af534;
  --brand-ink: #000000;
}

Colors that work with #8af534

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#D4EDC0
Hairlines and dividers
Muted text#6E9B4B
Captions on the surface
Accent#6D30F9
Second voice, not a rival
Dark variant#397A06
Hover, pressed, headers
Light variant#F1FEE7
Selected rows, tints
Dark surface#1B2414
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 #8af534

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#9F34F5
Analogous left#EAF534
Analogous right#34F53E
Split-complement 1#3E34F5
Split-complement 2#F534EA
Triadic 1#348AF5
Triadic 2#F5348A
Tetradic#34EAF5

RGB percentages

Red54.1%
Green96.1%
Blue20.4%

CMYK percentages

Cyan43.7%
Magenta0.0%
Yellow78.8%
Key (black)3.9%

Color previews

#8af534 text on a black background

contrast 15.19:1

Card sample

#8af534 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 245, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 245, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af534;
background: linear-gradient(135deg, #8af534, #34F55F);

Monochromatic scale

Palettes built from #8af534

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.

#8af534 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.

#8af534, answered

What color is #8af534?

#8af534 is a balanced electric green, closest to Lawn Green (ΔE2000 2.3). It sits at 93° on the hue wheel with 91% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #8af534?

rgb(138, 245, 52) — 138 red, 245 green and 52 blue out of 255, or 54.1% / 96.1% / 20.4% by channel.

Is #8af534 a light or a dark color?

It is a light color. Relative luminance is 0.7096 and perceived brightness is 80%, so black text on it reaches 15.19:1.

Should I use black or white text on #8af534?

Black. It scores 15.19:1 against #8af534, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #8af534?

#9F34F5 sits directly opposite on the wheel. Softer options are the split-complements #3E34F5 and #F534EA, which give the same contrast with far less vibration.

What colors go well with #8af534?

For interface work: #F7FAF4 as the surface, #D4EDC0 for borders, #6E9B4B for secondary text, #6D30F9 as an accent and #397A06 for hover and pressed states. For a palette, the analogous pair #EAF534 and #34F53E stays calm, while #9F34F5 is the loudest partner.

What is #8af534 in CMYK for printing?

cmyk(44%, 0%, 79%, 4%). 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 #8af534 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D1F534; nudged cooler, #41F732.

Work with #8af534 in the Color Lab