#54AF1F color
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 | |
|---|---|---|
| RGB | rgb(84, 175, 31) | |
| RGB percent | rgb(32.9%, 68.6%, 12.2%) | |
| HSL | hsl(98, 70%, 40%) | |
| HSV / HSB | hsv(98, 82%, 69%) | |
| CMYK | cmyk(52%, 0%, 82%, 31%) | |
| CIE LAB | lab(63.87, -50.73, 59.21) | |
| CIE LCH | lch(63.87, 77.97, 130.59) | |
| CIE XYZ | xyz(19.233, 32.642, 6.583) | |
| Decimal | 5549855 | |
| Short hex | None (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 #54AF1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.53:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #54AF1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.53:1 | Pass | Pass | Pass |
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.
#b59f00Protanopia
no red cones#a99831Deuteranopia
no green cones#4ea895Tritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
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); }
Similar colors
#5cac2dGrass#44aa11Botanical Garden#55aa00Yoshi#5cb200Kermit Green#5ca904Ruminant’s Paradise#66aa22Green Symphony#6ab417Extra Life#4cbb17Kelly Green
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.