#54AF1F color

#54AF1F rgb(84, 175, 31)
Shades of green

The hex color #54AF1F is a moderate green.

In the RGB color model it is made of 32.9% red, 68.6% green and 12.2% blue (84, 175, 31).

Its hue angle is 98°, with 70% saturation and 40% lightness. For print, the CMYK equivalent is 52% cyan, 0% magenta, 82% yellow and 31% black.

The closest named color is Grass (#5CAC2D), a difference of 1.6 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 7.53:1).

#54AF1F color codes

HEX#54AF1F
RGBrgb(84, 175, 31)
RGB percentrgb(32.9%, 68.6%, 12.2%)
HSLhsl(98, 70%, 40%)
HSV / HSBhsv(98, 82%, 69%)
CMYKcmyk(52%, 0%, 82%, 31%)
CIE LABlab(63.87, -50.73, 59.21)
CIE LCHlch(63.87, 77.97, 130.59)
CIE XYZxyz(19.233, 32.642, 6.583)
Decimal5549855
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #54AF1F, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #54AF1FRatioAAAAAAA large
Sample text7.53:1PassPassPass
Sample text2.79:1FailFailFail
#54AF1F as text onRatioAAAAAAA large
Sample text2.79:1FailFailFail
Sample text7.53:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #54AF1F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #54af1f; }
.text { color: #54af1f; }
.border { border: 2px solid #54af1f; }
.transparent { background-color: rgb(84 175 31 / 50%); }
.gradient { background: linear-gradient(to right, #54af1f, #1faf32); }
Background
Text color
Border

Similar colors

Questions

What color is #54AF1F?
#54AF1F is a moderate green, closest to the named color Grass. It belongs to the green family of colors.
What is the RGB value of #54AF1F?
The RGB value is 84, 175, 31: 84 red, 175 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #54AF1F?
The complementary color is #7A1FAF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #54AF1F?
Black text. Black text has a contrast ratio of 7.53:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.