#54AF27#54AF27
#54AF27 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.188 H 137.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #54AF27 |
|---|---|
| RGB | rgb(84, 175, 39) |
| HSL | hsl(100, 64%, 42%) |
| HSV | hsv(100, 78%, 69%) |
| CMYK | cmyk(52%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(63.91, -50.29, 56.86) |
| CIE-LCH | lch(63.91, 75.91, 131.49°) |
| OKLab | oklab(67.22% -0.1393 0.1268) |
| OKLCH | oklch(67.22% 0.188 137.7) |
| XYZ | xyz(19.3517, 32.6898, 7.2091) |
| Luminance | 0.3269 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.29
Kermit Green
#5CB200
ΔE00 2.86
Leafy Green
#51B73B
ΔE00 2.94
Leaf Green
#5CA904
ΔE00 3.10
Nasty Green
#70B23F
ΔE00 3.55
Lawn Green
#4DA409
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54AF27 #8227AF
analogous
#98AF27 #54AF27 #27AF3E
triadic
#54AF27 #2754AF #AF2754
tetradic
#54AF27 #2798AF #8227AF #AF3E27
square
#54AF27 #2798AF #8227AF #AF3E27
split-complementary
#54AF27 #3E27AF #AF2798
monochromatic
#244B11 #3C7D1C #54AF27 #70D43F #96DF71
Accessibility & contrast
On white
2.79
#54AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#54AF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #54AF27
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54AF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##54AF27 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#4DA996
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #54af27; /* rgb */ color: rgb(84, 175, 39); /* oklch */ color: oklch(67.2% 0.188 137.7);
Tailwind
colors: {
custom: {
50: '#8dc86c',
500: '#54af27',
950: '#000000',
},
}SCSS
$custom: #54af27; $custom-light: #8dc86c; $custom-dark: #000000;
JSON
{
"hex": "#54af27",
"rgb": {
"r": 84,
"g": 175,
"b": 39
},
"hsl": {
"h": 100.147,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.67219,
"c": 0.18834,
"h": 137.7
},
"luminance": 0.32691
}Semantic roles & 50–950 ramp
primary
#54AF27
secondary
#A86BC6
accent
#41E7B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A